Postfix/Dovecot permissions for new mailboxes

telsch telsch at gmx.de
Tue May 15 12:43:27 EEST 2018


I would expect same permissions as for root mail directory 02770:
	drwxrws--- 5 newuser mail 4096 Apr 23 19:31 /var/spool/mail/newuser/

Using Dovecot 2.2.34

On 14.05.2018 08:37, Aki Tuomi wrote:
> 
> 
> On 09.05.2018 12:52, telsch wrote:
>> Hello,
>>
>> the wiki page describe that permission should copied from root mail
>> directory
>>      https://wiki2.dovecot.org/SharedMailboxes/Permissions
>>
>> The permissions for the root mail directory are set to 2770:
>>      drwxrws--- 36 root mail 4096 Apr 15 02:30 /var/spool/mail/
>>
>> But newly created mailboxes get following permissions:
>>      drwx--S--- 5 newuser mail 4096 Apr 23 19:31 /var/spool/mail/newuser/
>>
>> In /etc/dovecot/conf.d/10-mail.conf follow options are set:
>>      mail_gid = mail
>>      mail_privileged_group = mail
>>      mail_access_groups = mail
>>
>> I'm missing something to get right group permissions for new mailboxes?
> 
> What permissions were you expecting? Also, which version of dovecot are
> you running?
> 
> Aki
> 


More information about the dovecot mailing list