[Dovecot] Maildir parent directory permissions incorrect for new mailbox

Timo Sirainen tss at iki.fi
Tue Jun 28 04:07:16 EEST 2011


On Fri, 2011-06-17 at 17:35 +0100, Dominic Marks wrote:

> My issue is with the automatic creation of parent directories above new 
> maildirs. It seems to be that they're being set with incorrect (or 
> unhelpful) permissions, applying the permissions of the mailbox down the 
> path towards the mailbox root, as opposed to taking the permissions of 
> the mailbox root up towards the mailbox.
> 
> Our mail is stored under the scheme:
> 
>    location = maildir:/var/dovecot/mail/%d/%n:INDEX=/var/dovecot/index/%d/%n

See if chmod g+s /var/dovecot/mail solves your troubles. The same for
index dir.




More information about the dovecot mailing list