Hi,
I installed a new version of netqmail-1.05 with the 'Large Qmail patch' but SMTP-AUTH isn't working.
I had an running qmail-1.03 with older patches. So I took a new netqmail-1.05 and only aplied the 'Large qmail patch' without errors. compiled without errors, installed and started the daemons. There were no startup errors.
I receive mail without errors. But I can't send mail with SMTP-AUTH. I always get status 256 in the smtpd logs: ----------------- @4000000040c6f26730645bec tcpserver: status: 1/20 @4000000040c6f2673064735c tcpserver: pid 2657 from 217.5.65.181 @4000000040c6f267309468b4 tcpserver: ok 2657 0:80.190.231.XX:25 pd90541b5.dip.t-dialin.net:217.5.65.181::4588 @4000000040c6f2680c5101ec tcpserver: end 2657 status 256 @4000000040c6f2680c51195c tcpserver: status: 0/20 ----------------- When I try to send mail without authentification it works !?! So this creates an open relay to me.
I use vpopmail 5.4.3 with MySQL Auth. As I said, it worked great with qmail 1.03 an the old qmail-toaster-0.5.patch.bz2. The smtpd startup script is: ----------------- #!/bin/sh
VPOPMAILUID=`id -u vpopmail` VCHKPWGID=`id -g vpopmail` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
if [ -z "$VPOPMAILUID" -o -z "$VCHKPWGID" -o -z "$MAXSMTPD" ]; then echo VPOPMAILUID or VCHKPWGID is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi
#### qmail-scanner QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
exec softlimit -m 10000000 \ tcpserver -D -R -h -v -l 0 \ -x /www/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$VPOPMAILUID" -g "$VCHKPWGID" 0 smtp \ rblsmtpd -C -r relays.ordb.org -C -r relays.visi.com \ -C -r sbl-xbl.spamhaus.org -C -r opm.blitzed.org \ /var/qmail/bin/qmail-smtpd xxxxserv.de \ /www/vpopmail/bin/vchkpw /bin/true 2>&1 ------------------ A telnet session shows up: ------------------ 220 xxxxserv.de ESMTP ehlo 250-xxxxserv.de 250-STARTTLS 250-PIPELINING 250-8BITMIME 250 AUTH LOGIN PLAIN CRAM-MD5 AUTH FOOBAR 504 auth type unimplemented (#5.5.1) AUTH LOGIN 334 VXNlcm5hbWU6 ------------------
The System is redhat 9 with latest updates. Everything is errno patched. The Kerberos symlinks are set. (The IP Address and the domain name are anonymized.)
Can anyone give me a hint ? Thank you.
Remove the hostname argument to qmail-smtpd. That's for the old smtp-auth version. The new one does not use it.
Bill
