On Sunday, September 14, 2003, at 03:41 AM, Shane Chrisp wrote:

Like so...

#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
export QMAILQUEUE
exec /usr/local/bin/softlimit -m 15000000 \
    /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.spamcop.net \
    /var/qmail/bin/qmail-smtpd domain.com \
    /home/vpopmail/bin/vchkpw /bin/true 2>&1

Add any other rblsmtpd flags that you want, eg if you
want fail open or fail closed etc.

FWIW, I've found that using the -b switch with rblsmtpd (permanent error rather than temporary) can greatly reduce your smtp traffic, especially at large ISPs.


Regards,

Bill



Reply via email to