[Dovecot] Mailbox directory permissions (LDA, 0600 -> 0660, virtual users)

Marcin Hłybin marcin at rootnode.net
Mon Sep 17 16:25:27 EEST 2012


On 2012-09-17 14:46, Timo Sirainen wrote:
> Yeah, although since they're already sharing UIDs I don't see much
> point? http://wiki2.dovecot.org/SharedMailboxes/Permissions anyway
> describes how it all works.

Already tested and it does not work.
Directory structure is /home/mail/<uid>/<domain>/<user>

drwxr-xr-x   8 root  root   4096 Sep 14 10:28 /home
drwx--x--x 565 vmail vmail 53248 Sep 17 10:46 /home/mail
drwxrwx---   3 vmail vmail  4096 Sep 17 15:17 /home/mail/1234
drwx------   3 vmail vmail  4096 Sep 17 15:17 
/home/mail/1234/maildomain.com
drwx------   3 vmail vmail  4096 Sep 17 15:17 
/home/mail/1234/maildomain.com/support

Two last directories for mailbox support at maildomain.com are created 
automatically
after first e-mail comes to this address.

As you can see root directory has 0770 permissions (or 0711 if 
/home/mail is the root directory).
Maybe additional configuration is needed to make it work?

-- 
M.



More information about the dovecot mailing list