>Is there a script similar to wirehub.sh that will update
>from_senders_clueless?

The clueless list I got from a magazine article a long time ago. I bet 
everyone of those domains is also in something more current like 
spamdomains, imgfx, mailpolice.

>Or can somebody point me to a text version of this URL, if it exists?:
>http://www.cluelessmailers.org/listings/blacklistbydomain.html

This depends on them keeping their HTML text with <td>domain.tld<\td> on 
one line.

from_senders_spamdemic.sh

#!/bin/sh

cd /var/tmp

ftp http://www.cluelessmailers.org/listings/blacklistbydomain.html

egrep -i ">.*\.[a-z]{2,3}<" blacklistbydomain.html |\
   sed s/'<td>'/""/g |\
   sed s/'<\/td>'/""/g |\
   tr -d " " |\
   sort -f | uniq -i |\
   awk '{print $1" 554 ACL from_senders_spamdemic"}' \
   > /etc/postfix/from_senders_spamdemic.map

/usr/bin/postmap /etc/postfix/from_senders_spamdemic.map

exit 0



Reply via email to