19 Jan
2013
19 Jan
'13
5:34 p.m.
- Jens Tobiska jtobiska@gmail.com 2013.01.19 18:04:
passdb passwd-file { args = /etc/auth/%d/shadow }
This looks like a pre-2.x Version, best to share that detail.
Looking at the logs, %d is empty while %n works, so dovecot is looking for something in /var/mail/vhosts//myname and /etc/auth//shadow which don't exist. Replacing %d in dovecot.conf with the actual domain name works.
So, the quesiton is, why is %d empty, and from where does it take its value?
Hard to tell without seeing the actual logs. My guess is the login is not in user@domain format:
http://wiki1.dovecot.org/VirtualUsers
Regards Thomas