15 Sep
2017
15 Sep
'17
9:16 a.m.
On 15.09.2017 06:21, Paul Schreiber wrote:
I have:
Ubuntu 17.04
Dovecot 2.2.27 (c0f36b0)
Postfix 3.1.4
regular unix users with mail in /home/bob/Maildir
virtual users with mail in /var/mail/vhosts/domain.com/bob/
The regular users can receive mail as expected. When virtual users try to log in, it fails. The log shows an error like this:
2017-09-14 22:44:55 auth: Error: passwd-file(travler@travler.net,54.210.254.169,<EYwzYDFZWoY20v6p>): stat(/var/mail/vhosts/travler.net/shadow) failed: Permission denied (euid=114(dovecot) egid=121(dovecot) missing +x perm: /var/mail/vhosts, we're not in group 5000(vmail), dir owned by 5000:5000 mode=0750)
check
doveadm user travler@travler.net
you might be specifying uid/gid in passwd virtual passwd file.
Aki