procmail
[Top] [All Lists]

Re: Recipe matching

2001-12-19 00:18:43

On Tue, Dec 18, 2001 at 04:27:55PM -0500, High Flight wrote:

    * ^Received: .*\([a-z0-9\.]+\.(ch|pl)[ ]

Is there supposed to be a space after the  :  and before the .     ?

Up to you.  Every received line in the mailboxes I've looked at has a
space after the first colon.  Look at yours, and decide for yourself.

:0
* ^Received: .*\([a-z0-9\.]+\.(ae|ar|at|au|br|ca|ch|cn|cz)[ ]
/u/ja/jac/mail/junk

Then you won't be getting any mail from me, because I'm in .ca.

* ^Received: .*\([a-z0-9\.]+\.(de|in|ir|jp|kr|mgc|nl|pg|pl)[ ]
...
* ^Received: .*\([a-z0-9\.]+\.(ru|se|tw|ua|uk)[ ]

Heck, why not just use:

        * ^Received: .*\([a-z0-9\.]+\.[0-9][0-9][ ]

and avoid having to add new countries as they crop up in the future?

And yes, I'm willing to blacklist (at least for now) a lot of the
countries from which this unwanted spam originates.

I would suggest you also blacklist the .com and .net domains; *lots* of
the spam I get contains domains under those TLDs in the Received: lines.

-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Development / Abuse / Whatever       vox: +1 416 598-0000
  IT Canada                                            http://www.it.ca/

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>