Jason (AMD_) wrote:
Hi,
Let me first say what an awesome resource this is :) Thanks!
Now then, I've got a working toaster install EXCEPT for smtp-auth.
Here is my qmail-smtpd/run file:
exec softlimit -m 10000000 \
tcpserver -v -H -R -l 0 \
-x /var/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
recordio /var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw
/bin/true 2>&1
Of course, the variables are good, and recordio is only in there for
diagnosing this problem. The problem is I can POP mail using
vpopmail (using MySQL), but can't send mail to remote domains by
logging in. It keeps prompting me for the username and password (as
if they are wrong). I've recompile qmail from scratch and it still
wont work. I've recompiled vpopmail thinking it was a corrupt install
but still nothing. Can anyone see anything wrong with my run file,
or at least help me in finding the problem? Below is my log of the
smtp-auth attempt:
@400000004335f426301040ac tcpserver: status: 0/20
@400000004335f48f23a632a4 tcpserver: status: 1/20
@400000004335f48f23a64a14 tcpserver: pid 9565 from <REMOTEIP>
@400000004335f48f23a655cc tcpserver: ok 9565 0:<SERVERIP> :<REMOTEIP>::50665
400000004335f48f23b68e24 9565 > 220 <DOMAIN> ESMTP
400000004335f48f266dc6b4 9565 < EHLO froogy
400000004335f48f266f2a2c 9565 > 250-<DOMAIN>
400000004335f48f266f64c4 9565 > 250-PIPELINING
400000004335f48f266f93a4 9565 > 250-8BITMIME
400000004335f48f266fbe9c 9565 > 250-SIZE 10000000
400000004335f48f2670d7dc 9565 > 250 AUTH LOGIN PLAIN CRAM-MD5
400000004335f48f2938ecd4 9565 < AUTH LOGIN
400000004335f48f2939b024 9565 > 334 VXNlcm5hbWU6
400000004335f48f2bee0a54 9565 < <64 BIT HASH>
400000004335f48f2bee9ec4 9565 > 334 UGFzc3dvcmQ6
400000004335f48f2ea644b4 9565 < <64 BIT HASH>
400000004335f4942edf1b7c 9565 > 535 authentication failed (#5.7.1)
@400000004335f4943198e064 9565 < [EOF]
@400000004335f494319ac8ac 9565 > [EOF]
@400000004335f494319ad07c tcpserver: end 9565 status 256
Thanks for the help!
What user is qmail-smtpd running as? It should be vpopmail:vchkpw
Bill