<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<link href="chrome://translator/skin/floatingPanel.css"
type="text/css" rel="stylesheet">
<link href="chrome://translator/skin/floatingPanel.css"
type="text/css" rel="stylesheet">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hallo,<br>
<br>
Ich habe einen alten Postfix/Courier Mailserver nach Postfix/Dovecot
migriert.<br>
Das Courier Mailbox Schema habe ich beibehalten und das
courier-dovecot-migrate.pl Script benutzt.<br>
<br>
Jetzt würde ich gerne noch ACL nutzen, komme aber nicht weiter.<br>
Wenn ich ACL#s z.b. per Roundcube /Thunderbird vergebe werden im
User Verzeichnis zwei Dateien angelegt.<br>
<br>
cat dovecot-acl<br>
<a class="moz-txt-link-abbreviated"
href="mailto:user=testuser@comundpc.de">user=testuser@comundpc.de</a>
lrws<br>
<br>
cat dovecot-acl-list<br>
1365953681 INBOX<br>
1365954470 Junk<br>
<br>
Soweit sieht das ja gut aus.<br>
<br>
Aber wie abonniere ich die freigebenden Ordner dann ?<br>
<br>
Imap per Telnet liefert folgendes:<br>
<br>
A GETACL Inbox.Junk<br>
* ACL "Inbox.Junk" <a class="moz-txt-link-rfc2396E"
href="mailto:virusalert@comundpc.de">"virusalert@comundpc.de"</a>
lrwstipekxacd<br>
A OK Getacl completed<br>
<br>
<br>
Im Log steht dann folgendes :<br>
Debug: acl vfile: file /etc/dovecot/global-acls/INBOX.Junk not found<br>
Debug: acl vfile: file
/var/vmail/comundpc.de/virusalert/Maildir/.Junk/dovecot-acl not
found<br>
<br>
Sowie beim Zugriff auf ACL#s:<br>
<br>
Debug: acl vfile: Global ACL directory: /etc/dovecot/global-acls<br>
Debug: acl vfile: reading file
/etc/dovecot/global-acls/shared.comundpc.de<br>
Debug: acl vfile: file
/etc/dovecot/global-acls/shared.comundpc.de.Junk not found<br>
Debug: acl vfile: reading file
/var/vmail/comundpc.de/testuser/Maildir/.Junk/dovecot-acl<br>
Debug: acl: No lookup right to mailbox: shared.comundpc.de.Junk<br>
Debug: acl vfile: reading file
/etc/dovecot/global-acls/shared.comundpc.de.INBOX<br>
Debug: acl vfile: reading file
/var/vmail/comundpc.de/testuser/Maildir/dovecot-acl<br>
Debug: acl: No lookup right to mailbox: shared.comundpc.de.INBOX<br>
Debug: acl vfile: reading file /etc/dovecot/global-acls/shared<br>
<br>
Irgendwas scheint da mit den Namespaces und den Usern nicht zu
stimmen :=(<br>
<br>
Ausgabe von doveconf -n:<br>
<br>
# 2.1.15: /etc/dovecot/dovecot.conf<br>
# OS: Linux 3.8.6 x86_64 Gentoo Base System release 2.1 btrfs<br>
auth_mechanisms = plain login cram-md5<br>
auth_verbose = yes<br>
auth_verbose_passwords = plain<br>
dict {<br>
acl = mysql:/etc/dovecot/dovecot-dict-acl-sql.conf.ext<br>
}<br>
first_valid_gid = 12<br>
first_valid_uid = 8<br>
last_valid_gid = 12<br>
last_valid_uid = 8<br>
lda_mailbox_autocreate = yes<br>
mail_debug = yes<br>
mail_gid = 12<br>
mail_location =
maildir:/var/vmail/%d/%n/Maildir/:INDEX=/var/vmail/%d/%n/indexes<br>
mail_plugins = " quota autocreate acl"<br>
mail_uid = 8<br>
managesieve_notify_capability = mailto<br>
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave<br>
namespace {<br>
list = yes<br>
location =
maildir:/var/vmail/%d/%n/Maildir:INDEX=/var/vmail/%d/%n/Maildir/shared/%%u<br>
prefix = shared.%%d.%%n.<br>
separator = .<br>
subscriptions = no<br>
type = shared<br>
}<br>
namespace inbox {<br>
hidden = no<br>
inbox = yes<br>
list = yes<br>
location =<br>
mailbox Drafts {<br>
auto = subscribe<br>
special_use = \Drafts<br>
}<br>
mailbox Sent {<br>
auto = subscribe<br>
special_use = \Sent<br>
}<br>
mailbox "Sent Messages" {<br>
special_use = \Sent<br>
}<br>
mailbox Spam {<br>
auto = subscribe<br>
special_use = \Junk<br>
}<br>
mailbox Trash {<br>
auto = subscribe<br>
special_use = \Trash<br>
}<br>
prefix = INBOX.<br>
separator = .<br>
subscriptions = yes<br>
type = private<br>
}<br>
<br>
passdb {<br>
args = /etc/dovecot/dovecot-sql.conf.ext<br>
driver = sql<br>
}<br>
plugin {<br>
acl = vfile:/etc/dovecot/global-acls<br>
acl_shared_dict = <a class="moz-txt-link-freetext"
href="file:/var/vmail/shared-mailboxes">file:/var/vmail/shared-mailboxes</a><br>
sieve = ~/.dovecot.sieve<br>
sieve_default = /etc/dovecot/sieve/default.sieve<br>
sieve_dir = ~/sieve<br>
}<br>
postmaster_address = <a class="moz-txt-link-abbreviated"
href="mailto:messages@comundpc.de">messages@comundpc.de</a><br>
protocols = imap pop3 lmtp sieve<br>
service auth-worker {<br>
user = mail<br>
}<br>
service auth {<br>
unix_listener /var/spool/postfix/private/auth {<br>
group = postfix<br>
mode = 0600<br>
user = postfix<br>
}<br>
unix_listener auth-userdb {<br>
group = mail<br>
mode = 0600<br>
user = mail<br>
}<br>
}<br>
service imap-login {<br>
inet_listener imaps {<br>
ssl = yes<br>
}<br>
}<br>
service lmtp {<br>
unix_listener /var/spool/postfix/private/dovecot-lmtp {<br>
group = postfix<br>
mode = 0660<br>
user = postfix<br>
}<br>
}<br>
service managesieve-login {<br>
inet_listener sieve {<br>
port = 4190<br>
}<br>
vsz_limit = 64 M<br>
}<br>
service pop3-login {<br>
inet_listener pop3s {<br>
ssl = yes<br>
}<br>
}<br>
ssl_ca = </etc/ssl/apache2/root.crt<br>
ssl_cert = </etc/ssl/apache2/comundpc.de/comundpc.de.pem<br>
ssl_key = </etc/ssl/apache2/comundpc.de/comundpc.de.key<br>
userdb {<br>
driver = prefetch<br>
}<br>
userdb {<br>
args = /etc/dovecot/dovecot-sql.conf.ext<br>
driver = sql<br>
}<br>
protocol lmtp {<br>
mail_plugins = " quota autocreate acl sieve"<br>
}<br>
protocol lda {<br>
mail_plugins = " quota autocreate acl sieve"<br>
}<br>
protocol imap {<br>
mail_plugins = " quota autocreate acl imap_acl"<br>
}<br>
<br>
Eventuell hat da jemand eine Idee???<br>
<br>
Vielen Dank!<br>
<br>
Ralf Kraemer<br>
<br>
<br>
<br>
<div style="bottom: auto; left: 557px; right: auto; top: 501px;
display: none;" class="translator-theme-default"
id="translator-floating-panel">
<div title="Zum übersetzen klicken"
id="translator-floating-panel-button"></div>
</div>
</body>
</html>