I've set up a qmail server with vpopmail and vchkpw authentication on a Gentoo box. When I try to send mail through the smtp server from a remote host, I have to authenticate 3 times before I come through. My /var/log/messages files looks like this during the authentications:
May 12 15:57:15 jupiter vpopmail: vchkpw-smtp: password fail [EMAIL PROTECTED]:188.8.131.52
May 12 15:57:23 jupiter vpopmail: vchkpw-smtp: password fail [EMAIL PROTECTED]:184.108.40.206
May 12 15:57:31 jupiter vpopmail: vchkpw-smtp: password fail [EMAIL PROTECTED]:220.127.116.11
May 12 15:57:36 jupiter vpopmail: vchkpw-smtp: (PLAIN) login success [EMAIL PROTECTED]:18.104.22.168
1) You don't have cleartext passwords enabled for vpopmail, so only encrypted passwords are stored in the user database. The CRAM-MD5 SMTP AUTH method requires the cleartext password on the server end.
2) You've patched qmail-smtpd with an older SMTP AUTH patch that passes the parameters for CRAM-MD5 in the wrong order. Vpopmail versions prior to 5.4, expected the parameters in the wrong order, but we fixed that in 5.4 and later. As a result, it broke SMTP AUTH in qmail-smtpd with the wrong patch. There's a version of the patch in the vpopmail contrib directory that will work.
Tom Collins - [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet: sniffter.com