I'm using procmail to try to divert what I consider spam, into a "junk"
mail folder.
This is an example of recipes which I intend to match ONLY continuous
strings in the "Received" headers which END with .ch or .pl
For example: ab-cd.efgh.ch
:0
* ^Received:.+\.ch
/u/ja/jac/mail/junk
:0
* ^Received:.*\.ch
/u/ja/jac/mail/junk
:0
* ^Received:.+\.pl
/u/ja/jac/mail/junk
:0
* ^Received:.*\.pl
/u/ja/jac/mail/junk
However, procmail is finding a match from these headers:
Received: from smyk.apk.net (smyk.apk.net [207.54.158.17])
by junior.apk.net (8.11.0/8.11.0/rchk1.22) with ESMTP id
fAU0lQD09200
for <Jac(_at_)junior(_dot_)apk(_dot_)net>; Thu, 29 Nov 2001 19:47:26
-0500 (EST)
Received: from pimout2-int.prodigy.net (pimout2-ext.prodigy.net
[207.115.63.101]) by smyk.apk.net
(8.11.2/8.11.2/apk.010219+rchk1.22+bspm1.13.1.5a) with ESMTP id
fAU0lQJ21131 for <Jac(_at_)apk(_dot_)net>; Thu, 29 Nov 2001 19:47:26 -0500
(EST)
Received: from oemcomputer (A070-0319.CHCG.splitrock.net [63.254.246.65])
by pimout2-int.prodigy.net (8.11.0/8.11.0) with SMTP id
fAU0kx944678;
Thu, 29 Nov 2001 19:46:59 -0500
How can I write my recipe to prevent this match?
Jack
--
aka Keet Visit my web page at http://junior.apk.net/~jac/
* If you post a followup, -DO NOT- email me a copy of it! *
Fun photo contest: http://home.dal.net/jam/kimva_photo.html
"We were trying to compete with The Beach Boys and Pet Sounds" - Guess!
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail