Le 2 août 2013 à 11:02, Nigel Smith a écrit :
Hello Axel,
# id its-virtmail uid=1001(its-virtmail) gid=1001(its-virtmail) groups=1001(its-virtmail)
# grep 'test@ops.example.com' /etc/dovecot/users test@ops.example.com:{SSHA512}xxxxxxxxxxxxx:1001:1001::/srv/mail/ops.example.com/test/./:/bin/false::
# ls -al /srv/mail/ops.example.com/test/new/1375430267.M868397P2192.ukc-vm02-mx01\,S\=477\,W\=486 -rw-r--r-- 1 its-virtmail its-virtmail 477 Aug 2 08:57 /srv/mail/ops.example.com/test/new/1375430267.M868397P2192.ukc-vm02-mx01,S=477,W=486
Thanks!
So, it's a single uid/gid setting, and the permissions seem to be consistent. (you could probably simplify your config, but it's another matter)
Looking at the home folder for test@ops.example.com:
/srv/mail/ops.example.com/test/./
I'm not sure how Dovecot is supposed to interpret the ending "/./" part.
On the other hand, according to your global setting:
mail_location = maildir:/srv/mail/%d/%n
this would translate as:
maildir:/srv/mail/ops.example.com/test
for user test@ops.example.com.
Someone more knowledgeable than I am with maildir?
Axel
PS - Yes, Stan is right: always better to provide the output doveconf -n (and postconf -n), and even better in a message's body. :-)