logins fail for virtual users (permission denied, we're not in group 5000)
Aki Tuomi
aki.tuomi at dovecot.fi
Fri Sep 15 09:16:25 EEST 2017
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 at 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 at travler.net
you might be specifying uid/gid in passwd virtual passwd file.
Aki
More information about the dovecot
mailing list