[Dovecot] Umask of Homedir
Francisco Wagner C. Freire
wgrcunha at gmail.com
Wed Apr 20 21:59:28 EEST 2011
The a/ac part is generated from md5 part of domainname, i want to change to
hash modifier according to: http://wiki2.dovecot.org/Variables this is my
next step :) because this is my new installation profile.
Using 02770 on parent, dovecot create homedir with this permission:
drwx--S--- 3 50 _sysadms 3 Apr 20 15:55 cb
A member of _sysadms group cant access:
id -> uid=450010(_freire) gid=450000(_sysadms) groups=450000(_sysadms)
cd cb
-su: cd: cb: Permission denied
On Wed, Apr 20, 2011 at 3:41 PM, Timo Sirainen <tss at iki.fi> wrote:
> 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