[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

filtering spam with procmail



-----BEGIN PGP SIGNED MESSAGE-----

Hey all.  Over the past couple weeks or so the volume of spam to my inbox
has grown by a disturbing amount (I should have been more careful...).

One thing I've noticed is that my email address doesn't actually occur
anywhere in the headers, which makes me think I could filter these spams
without too much difficulty.  

I already use procmail to sort mailing lists, and was thinking that I
could add a rule (after all the list rules) to check whether or not my
email address actually occurred in the header.  If it didn't then it could
be saved to a folder, otherwise it could be delivered to my inbox as
usual.

I'm not sure what to use for such a procmail rule, though.  Does anybody
here do anything similar to this?  If so, what's the best way?

Thanks,
noah
 _______________________________________________________
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBOZWC+4dCcpBjGWoFAQEz+QQAozkCIsDdeF2CGowRiVy7rfqGAmXXwaPz
pqu8a9ZauBYbfNuYFzuocJoBud55KWNQuGKiHPrx2wU8sddMjKAlRQLs4Q+0FbEl
Okkv8qHJq4OzmJgpPkKuezZIgw2wMG4YVee104g6vWCtPyLG6V85+TwTJqMAvDGZ
jNWAW38riSE=
=MAn/
-----END PGP SIGNATURE-----



Reply to: