Aquarionics

Thursday 10th June 2004

Today's Trick

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.


Nicholas 'Aquarion' Avenell is a web developer in London, you can find out more about him or how to get in touch.

There are more Articles, Projects, Journal Entries, Photographs and things that defy description here, too.

If you're looking for something specific, there are Calendar & Category -based lists of everything.

And if you want to follow stuff that appears here, try a Syndication Feed, or the generic Feed of everything.


Aquarion's last Twitter was: [updating]
Twitter last updated


More Journal:

[RSS Icon]
[ESF Icon]
[CDF Icon]

That which is relevant:


Explain Ads
© 2000 to 2008 inclusive Nicholas Avenell
All comments are the property of their creators, published with permission
(Unless otherwise indicated, the opinions and sentiments expressed on this site are those of the author and not of any organisation of which he is an affiliate, including his employer. Caveat Lector, E&OE. sigh)
0.890 seconds, 11 queries, 2.6Mb on Fri, 03 Oct 2008 19:26:10 +0000
Generated by Epistula Version 2.0.3