List schrieb:
Hi List,
I had built a little Block List to reject spam sources which were hitting
my mailservers for the pass few weeks. I also added the rblsmtpd into
/var/qmail/supervise/qmail-smtpd/run. The contents as below:-
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 8000000 \
/usr/local/bin/tcpserver -v -H -R -l 0 \
-x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/usr/local/bin/rblsmtpd -r bl.myblocklist.com \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
I had added my own dynamic IP into the zone file of the block list and
run telnet to test it out. Telnet successfully send out the mail.
220 mydomain.com ESMTP
helo bl.myblocklist.com
250 mydomain.com
mail from:<>
250 ok
rcpt to:<[EMAIL PROTECTED]>
250 ok
data
354 Please start mail input.
Test mail.
./var/qmail/supervise/qmail-smtpd/run
250 Mail queued for delivery.
quit
221 Closing connection. Good bye.
To trouble shoot, I also added /usr/local/bin/rblsmtpd -r
bl.myblocklist.com \ into another machine's
/var/qmail/supervise/qmail-smtpd/run and telnet test again.
Below is the result:-
220 rblsmtpd.local
helo bl.myblocklist.com
250 rblsmtpd.local
451 http://bl.blocked.php
Can someone point the error to me please?
Thanks
hi,
maybe you do a pop auth before your test ?
then rbl don't hit.
Thanks for replying. I do not have pop auth, instead i am using smtp-auth.
But i do have --enable-roaming-users option for vpopmail.
regards