[Dovecot] maildir location

Timo Sirainen tss at iki.fi
Mon Mar 21 19:07:32 EET 2011


On Thu, 2011-03-17 at 12:41 -0500, upen wrote:
> 
> #ls -ald /localdir
> drwxrwxrwx 31 root root 12288 Mar 17 10:48 /localdir/
> 
> # ls -ald /localdir/mail
> drwxrwxrwx 3 dovecot dovecot 4096 Mar 17 10:49 /localdir/mail
> 
> mkdir /localdir/mail/username
> chown username:group  /localdir/mail/username
> chmod 700  /localdir/mail/username
> 
> 
> Do you think it is okay to keep these perms ? 

At least you should do chmod +t /localdir /localdir/mail.

Or just keep them 0755 and create /localdir/mail/username with proper
permissions immediately for new users.




More information about the dovecot mailing list