[Dovecot] Umask of Homedir

Timo Sirainen tss at iki.fi
Wed Apr 20 21:41:25 EEST 2011

On 20.4.2011, at 21.34, Francisco Wagner C. Freire wrote:

> mail_location = maildir:%h/maildir:INDEX=%h/cache
> /storage/a/ac/domainname/users/account/maildir

What's the a/ac/ part? Is this if the domain begins with ac? Dovecot v2.0 has this "smart" logic where if you set e.g.:

mail_location = maildir:/storage/%1d/%2d/%d/users/%n/maildir:INDEX=%h/cache

Then if the domainname directory (or first of the existing parent dirs) has 02770 permissions, they are copied to the directories created under it.

More information about the dovecot mailing list