procmail
[Top] [All Lists]

Re: A simple rule for IP1<>IP2

2002-09-08 10:23:59
On Fri, 6 Sep 2002, Tomislav Crnicki wrote:

Received: from 196.40.67.195 ([210.15.67.232])

What would be the rule be to dump such messages to /dev/null?

DDD="[1-9](|[0-9](|[0-9]))"

:0:
* $   ^Received: from \/$DDD\.$DDD\.$DDD\.$DDD
* $   ^Received: from $\MATCH \(\[$DDD\.$DDD\.$DDD\.$DDD\]\)
* $ ! ^Received: from $\MATCH \(\[$\MATCH\]\)
probably-spam

I never recommend dumping something to /dev/null based on a single
"mistake" in the headers.

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