On Oct 7, 2008, at 6:33 PM, Roderick A. Anderson wrote:

Oct 7 08:17:20 mx0 dovecot: auth(default): passwd-file([EMAIL PROTECTED] ,66.193.34.88): unknown user

It's looking up [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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
}

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to