immer wieder shared folder ;(

André Peters andre.peters at debinux.de
Di Mär 6 23:08:30 CET 2018


Hi, kannst du noch die Logs anhängen, die du hast, wenn du versuchst einen Ordner freizugeben?

Mit besten Grüßen
André Peters

> Am 06.03.2018 um 22:00 schrieb Foo Bar <foobar at web.de>:
> 
> 
> hi @all,
> 
> mein frustlevel ist gerade extrem, 1 tag anleitungen im internet
> lesen, dovecot-buch lesen ... aber shared folder gehen mit dovecot einfach nicht
> und ich kann keine erklärung finden die in mein gehirn passt
> 
> evenuell könnt ihr mich erhellen, sonst bleibt mir nix weiter übrig als zu
> meinem alten cyrus zurückzukehren ... den versteh ich soweit das er tut was ich ich will ...
> 
> ich kann keine acl setzen, oder besser, ich kann im client folder freigeben
> aber sie werden einfach nicht freigegeben und die acl werden nicht gespeichert ;(
> 
> unter /var/vmail gehört alles vmail:vmail immer mit 770 bzw. 660 ...
> 
> 
>  $> cat dovecot.conf
> 
> protocols = imap lmtp sieve
> 
> debug_log_path = /var/log/dovecot.debug
> mail_debug = yes
> #auth_debug = yes
> 
> ssl = required
> ssl_cert = </etc/ssl/MY/test.com.cert_incl_ca.pem
> ssl_key = </etc/ssl/MY/test.com.key.pem
> ssl_cipher_list = EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+MY256:EECDH:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!IDEA:!ECDSA:kEDH:CAMELLIA128-MY:AES128-MY
> ssl_prefer_server_ciphers = yes
> 
> service imap-login {
>    inet_listener imap {
>        port = 143
>    }
> }
> 
> service managesieve-login {
>    inet_listener sieve {
>        port = 4190
>    }
> }
> 
> service lmtp {
>    unix_listener /var/spool/postfix/private/dovecot-lmtp {
>        mode = 0660
>        group = postfix
>        user = postfix
>    }
>    user = vmail
> }
> 
> service auth {
>    # auth socket für postfix
>    unix_listener /var/spool/postfix/private/auth {
>        mode = 0660
>        user = postfix
>        group = postfix
>    }
> 
>    # auth socket für lmtp
>    unix_listener auth-userdb {
>        mode = 0660
>        user = vmail
>        group = vmail
>    }
> }
> 
> protocol imap {
>    mail_plugins = acl quota imap_quota imap_sieve imap_acl
>    mail_max_userip_connections = 20
>    imap_idle_notify_interval = 29 mins
> }
> 
> protocol lmtp {
>    postmaster_address = 333 at schwaebischhall.de
>    mail_plugins = acl sieve
> }
> 
> 
> # client auth
> disable_plaintext_auth = yes
> auth_mechanisms = plain login
> 
> passdb {
>    driver = sql
>    args = /etc/dovecot/dovecot-sql.conf
> }
> 
> userdb {
>    driver = sql
>    args = /etc/dovecot/dovecot-sql.conf
> }
> 
> 
> ### mail location
> mail_uid = vmail
> mail_gid = vmail
> mail_privileged_group = vmail
> 
> mail_home = /var/vmail/mailboxes/%d/%n
> mail_location = maildir:~/mail:LAYOUT=fs
> 
> # mailbox configuration
> namespace inbox {
>    inbox = yes
>    separator = /
> 
>    mailbox Spam {
>        auto = subscribe
>        special_use = \Junk
>    }
> 
>    mailbox Trash {
>        auto = subscribe
>        special_use = \Trash
>    }
> 
>    mailbox Drafts {
>        auto = subscribe
>        special_use = \Drafts
>    }
> 
>    mailbox Sent {
>        auto = subscribe
>        special_use = \Sent
>    }
> }
> 
> # shared folder
> namespace {
>    type = shared
>    separator = /
>    prefix = shared/%%u/
>    hidden = no
>    ignore_on_failure = no
>    inbox = no
>    list = children
>    location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u
>    subscriptions = yes
> }
> 
> # mail plugins
> plugin {
>    sieve_plugins = sieve_imapsieve sieve_extprograms
>    sieve_before = /var/vmail/sieve/global/spam-global.sieve
>    sieve = file:/var/vmail/sieve/%d/%n/scripts;active=/var/vmail/sieve/%d/%n/active-script.sieve
> 
>    # spam learning
>    imapsieve_mailbox1_name = Spam
>    imapsieve_mailbox1_causes = COPY
>    imapsieve_mailbox1_before = file:/var/vmail/sieve/global/learn-spam.sieve
> 
>    imapsieve_mailbox2_name = *
>    imapsieve_mailbox2_from = Spam
>    imapsieve_mailbox2_causes = COPY
>    imapsieve_mailbox2_before = file:/var/vmail/sieve/global/learn-ham.sieve
> 
>    sieve_pipe_bin_dir = /usr/bin
>    sieve_global_extensions = +vnd.dovecot.pipe
> 
>    quota = maildir:User quota
>    quota_exceeded_message = Benutzer %u hat das Speichervolumen überschritten. / User %u has exhausted allowed storage space.
> 
> }
> 
> plugin {
>    #acl = vfile:/var/vmail/db/global-acls:cache_secs=300
>    acl = vfile
>    acl_anyone = allow
>    acl_shared_dict = file:/var/vmail/db/%d/shared-mailboxes.db
> }
> 
> 
> 
> 
> 
> 
> Mar 06 21:52:20 imap(alf at test.com): Debug: Loading modules from directory: /usr/lib/dovecot/modules
> Mar 06 21:52:20 imap(alf at test.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
> Mar 06 21:52:20 imap(alf at test.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
> Mar 06 21:52:20 imap(alf at test.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
> Mar 06 21:52:20 imap(alf at test.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
> Mar 06 21:52:20 imap(alf at test.com): Debug: Module loaded: /usr/lib/dovecot/modules/lib95_imap_sieve_plugin.so
> Mar 06 21:52:20 imap(alf at test.com): Debug: Added userdb setting: plugin/quota_rule=*:storage=2048M
> Mar 06 21:52:20 imap(alf at test.com): Debug: Effective uid=1001, gid=1001, home=/var/vmail/mailboxes/test.com/alf
> Mar 06 21:52:20 imap(alf at test.com): Debug: Quota root: name=User quota backend=maildir args=
> Mar 06 21:52:20 imap(alf at test.com): Debug: Quota rule: root=User quota mailbox=* bytes=2147483648 messages=0
> Mar 06 21:52:20 imap(alf at test.com): Debug: Quota grace: root=User quota bytes=214748364 (10%)
> Mar 06 21:52:20 imap(alf at test.com): Debug: Namespace inbox: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/mail:LAYOUT=fs
> Mar 06 21:52:20 imap(alf at test.com): Debug: fs: root=/var/vmail/mailboxes/test.com/alf/mail, index=, indexpvt=, control=, inbox=/var/vmail/mailboxes/test.com/alf/mail, alt=
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl: initializing backend with data: vfile
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl: acl username = alf at test.com
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl: owner = 1
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl vfile: Global ACLs disabled
> Mar 06 21:52:20 imap(alf at test.com): Debug: Namespace : type=shared, prefix=shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%h/Maildir:INDEX=/var/vmail/mailboxes/test.com/alf/shared/%u:CONTROL=/var/vmail/mailboxes/test.com/alf/shared/%u
> Mar 06 21:52:20 imap(alf at test.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl: initializing backend with data: vfile
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl: acl username = alf at test.com
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl: owner = 0
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl vfile: Global ACLs disabled
> Mar 06 21:52:20 imap(alf at test.com): Debug: quota: quota_over_flag check: STORAGE ret=1 value=0 limit=2097152
> Mar 06 21:52:20 imap(alf at test.com): Debug: quota: quota_over_flag check: MESSAGE ret=0 value=0 limit=0
> Mar 06 21:52:20 imap(alf at test.com): Debug: quota: quota_over_flag=0((null)) vs currently overquota=0
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl vfile: file /var/vmail/mailboxes/test.com/alf/mail/dovecot-acl not found
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl vfile: file /var/vmail/mailboxes/test.com/alf/mail/Spam/dovecot-acl not found
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl vfile: file /var/vmail/mailboxes/test.com/alf/mail/Drafts/dovecot-acl not found
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl vfile: file /var/vmail/mailboxes/test.com/alf/mail/Sent/dovecot-acl not found
> Mar 06 21:52:20 imap(alf at test.com): Debug: acl vfile: file /var/vmail/mailboxes/test.com/alf/mail/Trash/dovecot-acl not found
> 


Mehr Informationen über die Mailingliste Dovecot