On Wed, 4 May 2005, Steven A. Reisman wrote:
> I use a complete bogon list...
We do that too...
> # List of bogons from:
> # http://www.cymru.com/Documents/bogon-bn-agg.txt - 22 Apr 2005
> #
> hostlist bogons = 0.0.0.0/7 : 2.0.0.0/8 : 5.0.0.0/8 : 7.0.0.0/8 : \
> 10.0.0.0/8 : 23.0.0.0/8 : 27.0.0.0/8 : 31.0.0.0/8 : 36.0.0.0/7 : \
[...]
Why not just reference the external file?
lookuphost:
driver = dnslookup
qualify_single = false
domains = ! +local_domains
ignore_target_hosts = 127.0.0.0/8 : CONFIG_DIR/bogon-bn-agg.txt \
: CONFIG_DIR/ignore_spammers
transport = remote_smtp
see footnote[1]
Then we have a little script, which we run from time to time,
#!/bin/sh
# wget
http://www.cymru.com/Documents/bogon-bn-agg.txt
BOGONS=bogon-bn-agg.txt
cp -p ${BOGONS} ${BOGONS}.old
wget -N
http://www.cymru.com/Documents/${BOGONS} && diff ${BOGONS} \
${BOGONS}.old | more
[1]But thereby hangs a tale. (that file called ignore_spammers).
Maybe that calls for a separate thread.