7 Oct
2008
7 Oct
'08
6:36 p.m.
On Oct 7, 2008, at 6:33 PM, Roderick A. Anderson wrote:
Oct 7 08:17:20 mx0 dovecot: auth(default): passwd-file(info@aesoft-sbcs.com ,66.193.34.88): unknown user
It's looking up info@aesoft-sbcs.com from the file.
info:{PLAIN}crap:5000:5000::/var/mail/vhosts/aesoft-sbcs.com/info
But you have only info there. So either change it here, or:
passdb: driver: passwd-file args: /var/mail/vhosts/%d/passwd
From http://wiki.dovecot.org/AuthDatabase/PasswdFile:
username_format=<s>: Look up usernames using this format instead of
the full username (%u). If you want to enable user@domain logins but
have only "user" in the file, set this to %n.
So use:
passdb passwd-file { args = username_format=%n /var/mail/vhosts/%d/passwd }