Hello,
I installed a new version of netqmail-1.05 with the 'Large Qmail patch' but
SMTP-AUTH isn't working.
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.
When I try to send mail without authentification it works !?! So this
creates an open relay to me.
I use vpopmail 5.4.5 with MySQL Auth. The smtpd startup script is:
$more /etc/rc.d/rc.qmail
#!/bin/bash
export
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/var/qmail/bin:/var/vpopm
ail/bin"
[ -f /var/qmail/bin/qmail-send ] || exit 0
start() {
echo -n "Starting Qmail: "
qmail-start "`cat /var/qmail/dot-qmail`" splogger qmail &
# SMTP-AUTH w/RBL's
tcpserver -H -l0 -R -c 512 -x /var/vpopmail/etc/tcp.smtp.cdb -u 89
-g 89 0.0.0.0 25 /var/qmail/bin/tcp-env \
tcp-env rblsmtpd -r bl.spamcop.net -r list.dsbl.org -r
rbl-plus.mail-abuse.org -r list.dsbl.org -r sbl.spamhaus.org \
/var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw /bin/true &
# SMTP-AUTH w/SSL
tcpserver -n /etc/ssl/certs/smtps.pem -x
/var/vpopmail/etc/tcp.smtp.cdb \
-s -H -l0 -R -u 89 -g 89 0 465 /var/qmail/bin/tcp-env \
tcp-env /var/qmail/bin/qmail-smtpd /var/vpopmail/bin/vchkpw
/bin/true &
}
stop() {
echo -n "Shutting down Qmail: "
killall qmail-send
killall tcpserver
rm -f /var/lock/subsys/qmail
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac
In old version this is work great, but in new version this does not work.
I can send email without authentication.
Any body know what is the problem ?
Regards,
John