#!/bin/dash # This is a run script that I wrote myself because the one in the Gentoo # port sucks bigtime. # Mine puts the tcp rules in the service dir instead of /etc and rebuilds them # on startup. # Mine also includes rblsmtpd for RBL spam blocking. The RBL's are on the # lines that start with '-r'. QMAIL_CONTROLDIR="/var/qmail/control" exec 2>&1 tcprules tcp.cdb tcp.tmp < tcp exec \ envuidgid qmaild \ softlimit -m 8000000 \ tcpserver -v -hpR -U -c 20 -x tcp.cdb 0 25 \ rblsmtpd -B -t 30 \ -r b.barracudacentral.org \ -r zen.spamhaus.org \ -r bl.spamcop.net \ /var/qmail/bin/qmail-smtpd #-r dnsbl.njabl.org \ #-r dnsbl.sorbs.net \