(HOWTO) Surprisingly simply Procmail recipe

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Fri Jun 4 02:51:35 UTC 2004


I found few simple Procmail recipes that filter out surprisingly large
percentage of spams that I get.

    1.  :0
	* ^TO_[^@]*@yahoo.ca, [^@]*@yahoo.ca, [^@]*@yahoo.ca,
	spam.to

    Any email sent to 3 or more addresses within <yahoo.ca> domain is
    spam.

    2.  :0
	* ^TO_yahoo.ca
	* ! ^TO_opengeometry-FFYn/CNdgSA at public.gmane.org
	spam.to

    Any email addressed to someone else at <yahoo.ca> domain is spam.
    It turns out the bulk of these silly spams are form letters, where
    From: header is filled with some <yahoo.ca> address and is not
    changed when sending to real <yahoo.ca> recipients.

    3.  :0
	* ()\<(6[01]|20[23]|21[0189]|22[012])\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\>
	spam.apnic

    Any email coming from Asia Pacific is spam.

Use at your risk, and enjoy.

-- 
William Park, Open Geometry Consulting, <opengeometry-FFYn/CNdgSA at public.gmane.org>
No, I will not fix your computer!  I can reformat your harddisk, though.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list