View Single Post
  #7  
Old 24th March 2011, 15:25
carlos1014 carlos1014 is offline
Junior Member
 
Join Date: Apr 2009
Location: U.S.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is interesting, though. I turned on level2 debugging in authdaemonrc:

Syslog
Code:
Mar 24 10:00:20 server saslauthd[1906]: do_auth         : auth failure: [user=c] [service=smtp] [realm=domain] [mech=pam] [reason=PAM auth error]
Maillog
Code:
Mar 24 10:06:34 server imapd-ssl: Connection, ip=[::ffff:174.252.166.49]
Mar 24 10:06:35 server authdaemond: received auth request, service=imap, authtype=login
Mar 24 10:06:35 server authdaemond: authmysql: trying this module
Mar 24 10:06:35 server authdaemond: authmysqllib: connected. Versions: header 50155, client 50155, server 50155
Mar 24 10:06:35 server authdaemond: SQL query: SELECT email, password, "", 5000, 5000, "/home/vmail", CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/'), quota, "", "" FROM users WHERE email = 'c@domain'
Mar 24 10:06:35 server authdaemond: password matches successfully
Mar 24 10:06:35 server authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=domain, fullname=<null>, maildir=domain/c/, quota=10485760, options=<null>
Mar 24 10:06:35 server authdaemond: authmysql: clearpasswd=<null>, passwd=(shows encoded p/w as it appears in db)
Mar 24 10:06:35 server authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/home/vmail, address=c@domain, fullname=<null>, maildir=domain/c/, quota=10485760, options=<null>
Mar 24 10:06:35 server authdaemond: Authenticated: clearpasswd=(shows password in plain text), passwd=(shows p/w as it appears in p/w field of db)
Mar 24 10:06:35 server imapd-ssl: LOGIN, user=c@domain, ip=[::ffff:174.252.166.49], port=[21857], protocol=IMAP
Mar 24 10:14:14 server postfix/smtpd[9059]: timeout after AUTH from 49.sub-174-252-166.myvzw.com[174.252.166.49]
Mar 24 10:14:14 server postfix/smtpd[9059]: warning: network_biopair_interop: error writing 37 bytes to the network: Connection reset by peer
Mar 24 10:14:14 server postfix/smtpd[9059]: disconnect from 49.sub-174-252-166.myvzw.com[174.252.166.49]
Mar 24 10:14:15 server postfix/smtpd[9059]: connect from 49.sub-174-252-166.myvzw.com[174.252.166.49]
Mar 24 10:14:18 server postfix/smtpd[9059]: warning: SASL authentication failure: Password verification failed
Mar 24 10:14:18 server postfix/smtpd[9059]: warning: 49.sub-174-252-166.myvzw.com[174.252.166.49]: SASL PLAIN authentication failed: authentication failure

Last edited by carlos1014; 24th March 2011 at 15:30. Reason: removing sensitive info
Reply With Quote