[Dovecot] What owner/permissions for virtual homes?

Timo Sirainen tss at iki.fi
Fri Nov 4 22:22:31 EET 2011


On Fri, 2011-10-28 at 16:04 -0400, sean darcy wrote:
> On 10/28/2011 03:34 PM, sean darcy wrote:
> > VirtualUsers.Home.txt:
> >
> > The directory layouts for home and mail directories could look like one of
> > these (in the preferred order):
> >
> > 1. Mail directory under home, for example: home='/var/vmail/domain/user/'
> > mail='/var/vmail/domain/user/mail/'
> >
> > Who should be the owner of these directories, with that permissions?

Typically 0700 permissions, owned by the "mail user", whichever you've
configured for that. http://wiki2.dovecot.org/UserIds

> > Does it make a difference if it's /home/vmail rather than /var/vmail?

Either one is fine.

> it suggests the following configuration:
> 
> mail_home = /var/vmail/%d/%n
> mail_location = maildir:~/mail
> 
> but where does mail_home appear? Also in 10-mail.conf?

Doesn't matter. For example there.





More information about the dovecot mailing list