Auth Problems Sasl + Courier IMAP/POP - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Auth Problems Sasl + Courier IMAP/POP (/thread-6905.html) |
Auth Problems Sasl + Courier IMAP/POP - starfoxx - 06-08-2009 08:38 PM Hi, first i want say sorry for my bad english :-) System from etch to lenny upgrade per dist_upgrade VHCS 2.7.xx to ispCP 1.0.0.0 Use Upgrade-Howto from your page here My Problem: I cannot auth per sasl in postfix and courier imap/pop what files must exists in which paths? Thanks a lot. Greetz starfoxx RE: Auth Problems Sasl + Courier IMAP/POP - BeNe - 06-08-2009 08:46 PM Please post your Mail logs! Greez BeNe RE: Auth Problems Sasl + Courier IMAP/POP - starfoxx - 06-08-2009 08:57 PM Hi, mail.log: Jun 8 12:55:52 debian postfix/smtpd[16854]: warning: SASL authentication failure: no secret in database Jun 8 12:55:52 debian postfix/smtpd[16854]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:52 debian postfix/smtpd[16862]: warning: SASL authentication failure: no secret in database Jun 8 12:55:52 debian postfix/smtpd[16862]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:52 debian postfix/smtpd[16860]: warning: SASL authentication failure: no secret in database Jun 8 12:55:52 debian postfix/smtpd[16860]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:53 debian postfix/smtpd[16861]: warning: SASL authentication failure: no secret in database Jun 8 12:55:53 debian postfix/smtpd[16861]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:53 debian postfix/smtpd[16863]: warning: SASL authentication failure: no secret in database Jun 8 12:55:53 debian postfix/smtpd[16863]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:53 debian postfix/smtpd[16854]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16862]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16860]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16861]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16863]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16854]: connect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16862]: connect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16860]: connect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16861]: connect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16863]: connect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16854]: warning: SASL authentication failure: no secret in database Jun 8 12:55:53 debian postfix/smtpd[16854]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:53 debian postfix/smtpd[16862]: warning: SASL authentication failure: no secret in database Jun 8 12:55:53 debian postfix/smtpd[16862]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:53 debian postfix/smtpd[16860]: warning: SASL authentication failure: no secret in database Jun 8 12:55:53 debian postfix/smtpd[16860]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:53 debian postfix/smtpd[16861]: warning: SASL authentication failure: no secret in database Jun 8 12:55:53 debian postfix/smtpd[16861]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:53 debian postfix/smtpd[16863]: warning: SASL authentication failure: no secret in database Jun 8 12:55:53 debian postfix/smtpd[16863]: warning: xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx]: SASL DIGEST-MD5 authentication failed: authentication failure Jun 8 12:55:53 debian postfix/smtpd[16854]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16862]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16860]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16861]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] Jun 8 12:55:53 debian postfix/smtpd[16863]: disconnect from xxxxxxx.dip.t-dialin.net[xxx.xxx.xxx.xxx] --------------------------------------------- Jun 8 12:58:50 debian couriertcpd: Connection, ip=[::ffff:xxx.xxx.xxx.xxx] Jun 8 12:58:50 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], command=CAPABILITY Jun 8 12:58:55 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], command=AUTHENTICATE Jun 8 12:58:55 debian couriertcpd: LOGIN FAILED, method=LOGIN, ip=[::ffff:xxx.xxx.xxx.xxx] Jun 8 12:59:00 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], command=LOGIN Jun 8 12:59:00 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], username=admin@xxxxx.de Jun 8 12:59:00 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], password=xxxxxxxxxx Jun 8 12:59:00 debian couriertcpd: LOGIN FAILED, user=admin@xxxxxx.de, ip=[::ffff:xxx.xxx.xxx.xxx] Jun 8 12:59:12 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], command=AUTHENTICATE Jun 8 12:59:12 debian couriertcpd: LOGIN FAILED, method=LOGIN, ip=[::ffff:xxx.xxx.xxx.xxx] Jun 8 12:59:17 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], command=LOGIN Jun 8 12:59:17 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], username=admin@xxxxxx.de Jun 8 12:59:17 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], password=xxxxxxxxxx Jun 8 12:59:17 debian couriertcpd: LOGIN FAILED, user=admin@xxxxxx.de, ip=[::ffff:xxx.xxx.xxx.xxx] Jun 8 12:59:27 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], command=LOGOUT Jun 8 12:59:27 debian couriertcpd: LOGOUT, ip=[::ffff:xxx.xxx.xxx.xxx], rcvd=210, sent=566 Jun 8 12:59:29 debian couriertcpd: Connection, ip=[::ffff:xxx.xxx.xxx.xxx] Jun 8 12:59:29 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], command=CAPABILITY Jun 8 12:59:32 debian couriertcpd: LOGIN: ip=[::ffff:xxx.xxx.xxx.xxx], command=AUTHENTICATE Jun 8 12:59:32 debian couriertcpd: LOGIN FAILED, method=LOGIN, ip=[::ffff:xxx.xxx.xxx.xxx] MFG starfoxx RE: Auth Problems Sasl + Courier IMAP/POP - starfoxx - 06-08-2009 10:24 PM Hi, in /etc/postfix/sasl/smtpd.conf it writes: pwcheck_method: saslauthd auxprop auxprop_plugin: sql mech_list: PLAIN LOGIN cram-md5 digest-md5 allow_plaintext: true sql_engine: mysql sql_hostnames: localhost sql_user: xxxxx sql_passwd: xxxxx sql_database: ispcp sql_select: select mail_pass from mail_users where mail_addr=.%r. and mail_acc='%u' sql_verbose: yes log_level: 7 Is this right? and where must the sasldb2 file save. down the postfix chroot? Greetz starfoxx RE: Auth Problems Sasl + Courier IMAP/POP - starfoxx - 06-09-2009 03:58 AM Hi, so, i get back the backupfile userdb and kill smtpd.conf. restarted the services pop and imap and it works. The sasldb2 file copyed from backup in /etc and postfix chroot - dir. Now it works. How long? :-( I think when my reseller add a new domain, the system will hang. Greetz starfoxx |