dovecot: Jun 11 23:57:56 Info: auth(default): pam(testi@irkkaa.net,83.145.196.129): pam_authenticate() failed: Authentication failure
tried also debugging whats wrong with it, it queries ok, the password in the query is ok and everything. but it never replies +OK. that connection just halts after PASS command. Tried IMAP, same result.
config: (dovecot.conf, PLAIN etc all enabled)
passdb pam { args = * } passdb sql { args = /usr/local/etc/dovecot-mysql.conf } userdb passwd { } userdb sql { args = /usr/local/etc/dovecot-mysql.conf }
default_pass_scheme = PLAIN
password_query = SELECT username as user, password FROM mailbox WHERE username = '%u'
user_query = SELECT concat('/usr/local/virtual/',maildir) as home, 207 AS uid,208 AS gid FROM mailbox WHERE username = '%u'
postfixadmin-format mysql-DB, mails in /usr/local/virtual/user@domain/Maildir
Any ideas where stuff could go wrong? Passwords in the MySQL are cleartext and checked that query returns right values. Yet authentication-phase just gets stuck. System is hardned Gentoo-Linux (2.6.11r13-grsec)