[Dovecot] Sharing folder with others

Claudinei Santos cllaud at gmail.com
Thu Jun 5 18:47:41 UTC 2014


Hello,

The sharing folders with dovecot works, but when the user that i shared the
folder reads any e-mails in the folder, all my subcribed folder (the
folders that i do not shared with this user) is unsubcribed from my
account. The only folders that remains is the default ones ( inbox, trash,
spam and sent) and the folder that i shared with that user.

my configurations:

        # separator for master-users, example: "login_user*master_user ->
user at domain.tld*masteruser
        auth_master_user_separator = *
        passdb passwd-file {
                driver = passwd-file
                args = /etc/dovecot-masterusers
                master = yes
        }

namespace private {
        type = private
        separator = /
        prefix =
        #location defaults to mail_location.
        inbox = yes
}

namespace shared {
        type = shared
        separator = /
        prefix = Share Folders/%%u/
        location =
maildir:/var/spool/mail/vmail/%d/%%n:INDEX=/var/spool/mail/vmail/%d/%n/shared/%%u
        subscriptions = yes
        list = children
}

# cat /etc/dovecot-postlogin
#!/bin/bash
export MASTER_USER="$USER"
exec /usr/lib64/dovecot/imap "$@"


Can someone help me out with this?

Thanks in advance.


More information about the dovecot mailing list