[Dovecot] What owner/permissions for virtual homes?
VirtualUsers.Home.txt:
The directory layouts for home and mail directories could look like one of these (in the preferred order):
- 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?
Does it make a difference if it's /home/vmail rather than /var/vmail?
Thanks, Jay
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):
- 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?
Does it make a difference if it's /home/vmail rather than /var/vmail?
Thanks, sean
Also,
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?
sean
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):
- 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.
participants (2)
-
sean darcy
-
Timo Sirainen