This is my /var/qmail/supervise/qmail-smtpd/run file,
#!/bin/sh
QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd 2>&1
This is my /etc/tcp.smtp file
127.:allow,RELAYCLIENT=""
206.47.63.:allow,RELAYCLIENT=""
206.47.60.:allow,RELAYCLIENT=""
:allow
But in qmail-smtpd log,i don't see rblsmtpd taking any effect, seems all connections are OK, all logs are generated only by tcpserver
if I replace the last line of /etc/tcp.smtp by
:allow,RBLSMTPD="-Checked by RBLSMPTD"
then seems all emails are blocked, every incomming connection was processed by rblsmtpd and logged as
"rblsmtpd: 206.47.0.145 pid 28468: 553 Checked by RBLSMTPD"
the sender will receive a bounce back immediately saying
"Remote server rejected mail for recipient - 553 Checked by RBLSMTPD" even when the recipient is valid."
What's wrong with my configuration? How do I know if rblsmtpd is really working? how can I test it?
Thanks very much for all the help!
#!/bin/sh
QMAILDUID=`/usr/xpg4/bin/id -u qmaild`
NOFILESGID=`/usr/xpg4/bin/id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -r relays.ordb.org /var/qmail/bin/qmail-smtpd 2>&1
This is my /etc/tcp.smtp file
127.:allow,RELAYCLIENT=""
206.47.63.:allow,RELAYCLIENT=""
206.47.60.:allow,RELAYCLIENT=""
:allow
But in qmail-smtpd log,i don't see rblsmtpd taking any effect, seems all connections are OK, all logs are generated only by tcpserver
if I replace the last line of /etc/tcp.smtp by
:allow,RBLSMTPD="-Checked by RBLSMPTD"
then seems all emails are blocked, every incomming connection was processed by rblsmtpd and logged as
"rblsmtpd: 206.47.0.145 pid 28468: 553 Checked by RBLSMTPD"
the sender will receive a bounce back immediately saying
"Remote server rejected mail for recipient - 553 Checked by RBLSMTPD" even when the recipient is valid."
What's wrong with my configuration? How do I know if rblsmtpd is really working? how can I test it?
Thanks very much for all the help!