[Dovecot] Just setup Dovecot and having a small problem.

Timo Sirainen tss at iki.fi
Mon Apr 24 15:53:41 EEST 2006


On Sun, 2006-04-23 at 19:12 -0400, Tom Ray wrote:
> Apr 23 18:54:19 www dovecot: auth(default):
> pam(user at domain.tld,127.0.0.1): pam_authenticate() failed:
> Authentication failure

If you're authenticating from passwd-file, you probably should remove
passdb pam from the config file?

> Apr 23 18:54:19 www dovecot: auth(default):
> passwd-file /mail/domain.tld/etc/passwd: Read 1 users
> Apr 23 18:54:19 www dovecot: auth(default):
> passwd-file(user at domain.tld,127.0.0.1): unknown user
> Apr 23 18:54:20 www dovecot: auth(default): client out:
> FAIL^I1^Iuser=user at domain.tld

I'm guessing you've configured it like:

passdb passwd-file {
  args = /mail/%d/etc/passwd
}

In which case Dovecot expects the users to be in the passwd file without
their domains. Use %.0d (or was it %0.d) instead of %d and it should
work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060424/5b2f4e32/attachment.pgp


More information about the dovecot mailing list