On Tue, May 13, 2008 at 11:56:54AM -0400, Ken Schweigert wrote:
> 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
Currently, it doesn't.
> 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
As a workaround, modify the command line to include rblsmtpd before
spamdyke. This is what I do.
Andras
--
Andras Korn <korn at chardonnay.math.bme.hu>
<http://chardonnay.math.bme.hu/~korn/> QOTD:
S met ing's hap ening t my k ybo rd . .
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users