procmail
[Top] [All Lists]

Re: anti-gifspam

2006-12-02 04:28:30
Ruud H.G. van Tol writes:
Ruud H.G. van Tol schreef:
Ruud H.G. van Tol:

http://www.xs4all.nl/~rvtol/procmail/.procmailrc.anti-gifspam
I tested it a bit more, and the version that starts with the line
# $Id: .procmailrc.anti-gifspam 2006-11-09 15:08 $
does what I meant it to do.

Or newer... :)

An over-simplified version:
[...]

 Ruud, I'm testing the version just downloaded this morning.

 What is the purpose of matching on the number of Received: headers?
 That's the part that makes it fail here.

procmail: Assigning "MID1=001d01c713d1$dfe7ee00$57340b55"
procmail: Assigning "MATCH="
procmail: Matched "vnvdv"
procmail: Match on "@\/.+"
procmail: Assigning "MID2=vnvdv"
procmail: Assigning "LOG=<001d01c713d1$dfe7ee00$57340b55(_at_)vnvdv> 5
"
<001d01c713d1$dfe7ee00$57340b55(_at_)vnvdv> 5
procmail: No match on "^^(1|2)^^"
procmail: No match on "^^(2|3)^^"

 Depending on where the spam comes from, in my particular case, there
 will always be at least three or four Received: headers, and the interesting
 one is 3rd or fourth from the top (i.e. R1_HOST is pretty much irrelevant
 in this situation).



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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