A perl script, cidr2tcprules.pl, is included which will convert some DNSBL lists into data suitable for feeding into tcprules. For example, to configure the software such that clients on dialup have a banner sleep of 30 seconds, clients listed in SPEWS have a long banner, and clients on the local LAN have no sleep, the standard banner, and no signature filtering: # cd /var/qmail/control # rsync -avz rsync://rsync.bliab.com/sorbs/dul.dnsbl.sorbs.net . # wget http://mirror.bliab.com/spews/SPEWS.cidr.bz2 # cidr2tcprules.pl 'BANNERPOSTSLEEP="30"' < dul.dnsbl.sorbs.net | tcprules dul.{cdb,tmp} # bzip2 -dc SPEWS.cidr.bz2 | cidr2tcprules.pl 'BANNERFILE="control/banner.spews"' | tcprules spews.{cdb,tmp} # cat <<'EOF' > banner.spews $ME ESMTP NO-UCE Hello [$TCPREMOTEIP], connection logged at $DATE EOF # echo some.domain.com > me # cat <