[Mimedefang] Utilizing trustsource.org
Cormack, Ken
Ken.Cormack at Roadway.com
Wed Apr 11 16:41:20 EDT 2007
Does anyone know of any existing SA rules, or have any routines in their
mimedefang-filter that utilize trustedsource.org's reputation-based info
regarding relay IP addresses?
I would hope there's something a bit more elegant than this shell example,
which screen-scrapes their web page and simply returns such strings as
"Inoffensive", Neutral", and so on.
#!/bin/ksh
IP=${1}
lynx --dump http://www.trustedsource.org/query.php?q=${IP} \
| grep "Current reputation" \
| awk '{ print $NF }'
More information about the MIMEDefang
mailing list