procmail
[Top] [All Lists]

Weighted scoring and matching

2004-04-24 16:54:15
This is my first foray into weighted scoring recipes. In browsing 
through the archives looking for the best technique to count the 
number of Received: headers, I came across the following recipe by 
David Tamkin, which will check to see if there is only one Received: 
header, and extract its contents:

:0
 * 2^0
 * -1^1 ^Received:.*\/[^     ]+
 action

Do I understand correctly, that the following recipe will check to 
see if there is only one header, but without extracting the header's 
contents:

:0
 * 2^0
 * -1^1 ^Received:
 action

TIA

Doug


_______________________________________________
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>