Dark Light

Today’s Spambeating Trick Of The Day:

zcat ~/mail/sentArchive/* | grep "(^To|^CC)" | perl -e "while (<STDIN>){print /(w*@[w|.|-]*)/; print "n"}" | sort | uniq | xargs --replace -exec echo "whitelist_from {}" >> /home/aquarion/.spamassassin/user_prefs

Where it fails:
When there is more than one address on the To: line.

Why I don’t care:
I don’t often send mail to more than one person.

Related Posts

Faff

So, I saw gonzui and thought it might be useful. wget http://kent.dl.sourceforge.net/sourceforge/gonzui/gonzui-1.1.tar.gz tar zxvf gonzui-1.1.tar.gz cd gonzui-1.1 ./configure…

advsh

A discussion on IRC has just led me to fix the infamous advsh (well, the shell script version)…