Hello,
I'm testing Dovecot 2.0.
I plan to use Dovecot 2.0 with thousands of domains per server. My user base is under virtual MySQL.
I my tests, the authentication fails intermittently, and I could not find what's wrong. Can anyone help me?
################################################################################ Sep 22 16:31:16 box5 dovecot: last message repeated 9 times Sep 22 16:31:16 box5 dovecot: auth: Debug: auth client connected (pid=9249) Sep 22 16:31:20 box5 dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011lip=1.2.3.4#011rip=1.2.3.4#011lport=143#011rport=45348#011resp=AHRoaWFnbz1hZG1pbmxpbnV4LmNvbS5icgAxcWF6MndzeA== Sep 22 16:31:20 box5 dovecot: auth: Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth Sep 22 16:31:20 box5 dovecot: auth: mysql: Connected to mysqlserver.com (database_name) Sep 22 16:31:20 box5 dovecot: auth: Debug: sql(account=domain.com,1.2.3.4): query: SELECT AccountName AS userdb_username, Password AS password, MailLocation AS userdb_mail, concat('*:bytes=', ItQuota, 'M') AS userdb_quota_rule FROM Account WHERE AccountName = 'account=domain.com' Sep 22 16:31:20 box5 dovecot: auth: Debug: client out: OK#0111#011user=account=domain.com Sep 22 16:31:20 box5 dovecot: auth: Debug: master in: REQUEST#0111#0119249#0111#011ba525e3c7ea765255e814a27c5ef8294 Sep 22 16:31:20 box5 dovecot: auth: Error: Master requested auth for nonexistent client 9249 Sep 22 16:31:20 box5 dovecot: imap-login: Internal login failure (auth failed, 1 attempts): user=<account=domain.com>, method=PLAIN, rip=1.2.3.4, lip=1.2.3.4, mpid=9225 ################################################################################
Thank you in advance. Best Regards
[]'s Thiago Henrique Network Administration Digirati Networks K8 Networks
On Thu, 2010-09-23 at 11:58 -0300, Thiago Henrique wrote:
I my tests, the authentication fails intermittently, and I could not find what's wrong. Can anyone help me?
doveconf -n output could be helpful.
Sep 22 16:31:20 box5 dovecot: auth: Error: Master requested auth for nonexistent client 9249
This shouldn't really happen unless either auth process restarts or login process dies too early (or unix socket connection to it dies for some reason)..
Could you try also if the error messages change with this change: http://hg.dovecot.org/dovecot-2.0/rev/16330c0c8ef4
participants (2)
-
Thiago Henrique
-
Timo Sirainen