[Dovecot] Stuck with authentication for my dovecot installation.

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Nov 4 16:34:29 EET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 3 Nov 2013, Tru Pheenix wrote:

>> Nov  2 19:53:41 localhost dovecot: auth: Debug: sql(someone at mydomain.com,127.0.0.1): query: SELECT userid as user, password FROM users WHERE userid = 'someone at mydomain.com'
>> Nov  2 19:53:41 localhost dovecot: auth: sql(someone at mydomain.com,127.0.0.1): Password mismatch

Where is the line about PAM?

>> auth_verbose = yes
>> passdb {
>>   args = /etc/dovecot/dovecot-sql.conf
>>   driver = sql
>> }

So, the password storred in the database does not match the enterred one, 
then the next passdb {} should be tried

>> passdb {
>>   driver = pam
>> }

did you enabled dovecot in PAM? Or is a suitable default in PAM 
configured?

>> userdb {
>>   driver = passwd
>> }

Just the userdb {} for passwd, no SQL?

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUnewdV3r2wJMiz2NAQIkOwf/SJKKBqXNOXzd/Fd3483kYJIKs4ffRwWa
wPuA9fwtqpY0UaVP/GVjQbbql0AW8tpUiHLH3t3sypqKp03C/kupc4Q0sCAfH7s/
RupBaNLDZ07Jtjl1MIcxYRVu9tXKHOTPTfs6/OjGe09LXir0ujM+uy/dX3/U6vPA
IlnIG4PKTI5fqfBucvbjbwNDmQ8qatT9qxfdOMVkYRr4a6baWoaYUOEGD0WYmh2l
kXKlOtezDOQBq+nvKrzAI66bm3c2Qiy87+fANafH37Ms9ZE7cIHdUrPiWKeWQdmY
b+pyLAzoLrZkflz+iDdNrM7eX4k7q0qP9yQb0ujZquICQiduUqQZuw==
=n2Zs
-----END PGP SIGNATURE-----


More information about the dovecot mailing list