[Dovecot] Umask of Homedir

Timo Sirainen tss at iki.fi
Wed Apr 20 18:35:47 EEST 2011


On Fri, 2011-04-15 at 12:43 -0300, Francisco Wagner C. Freire wrote:

> The problem is: I need to all accounts have the permission 0770. Tried to
> use the option: mail_access_groups but doesn't work at all when the first
> creation of the user path.

This setting only gives the process access to extra groups. It doesn't
change any behavior.

> "For example a simple way to set up shared mailbox access for all system
> users is to make all mail dirs/files 0770/0660 mode and owned by group
> "sharedmail" and then set mail_access_groups=sharedmail. Using more fine
> grained groups of course leaks less mail data in case there's a security
> hole in Dovecot"

This doesn't talk about the initial maildir creation, only what happens
with existing ones..

> doveconf  -n

You left out a bit too much. What is your mail_location? There may be an
easy solution for this.




More information about the dovecot mailing list