On my server I have a tcpserver CDB file that contains entries like:

58.14-15.:allow,RBLSMTPD="-(cn) Possible Spam Host. Call
1+xxx-xxx-2983 if you feel this to be in error."

It's my understanding that by doing this the tcpserver process sets an
environment variable called RBLSMTPD and sets it with the value in
quotes.

Does Spamdyke look for this environment variable?  If so, is there an
easy way to verify that it is working correctly without having to wait
for a connection from one of the IPs in the file?

My 'run' script looks like:

pop3:/var/log/qmail/smtpd# more /var/qmail/supervise/qmail-smtpd/run
#!/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" xx.xx.xx.60 smtp \
    /usr/local/bin/spamdyke -f /etc/spamdyke.conf \
    /var/qmail/bin/qmail-smtpd \
    /home/vpopmail/bin/vchkpw /bin/true 2>&1
pop3:/var/log/qmail/smtpd#

Thanks!
-ken
-- 
Have a nice day ... unless you've made other plans.
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to