At 01:35 03/09/2000 -0700, Professional Software Engineering wrote:
At 04:36 2000-09-03 -0300, Hermann Wecke wrote:
Try:
* ^Received: 200\.225\.1(4[4-9]|5[0-9])
* ^Received: 200\.226\.(0|0?[0-9]?[0-9]|1[0-1][0-9]|12[0-7])\.
Should be good to go, unless someone picks up any regexp goofs on my part.
It looks correct, but for some misterious reason it is not working...
The recipe:
:0
* ^Received: 200\.225\.1(4[4-9]|5[0-9])\.
/dev/null
:0
* ^Received: 200\.226\.(0|0?[0-9]?[0-9]|1[0-1][0-9]|12[0-7])\.
/dev/null
The header:
Received: from smtp-1.ig.com.br (smtp-1.ig.com.br [200.225.157.60]) by
cele.pair.com (8.9.1/8.6.12) with SMTP id CAA17980 for
<xyz(_at_)mydomain(_dot_)com>;
Sun, 6 Aug 2000 02:58:03 -0400 (EDT)
The results:
procmail: No match on "^Received: 200\.225\.1(4[4-9]|5[0-9])\."
procmail: No match on "^Received:
200\.226\.(0|0?[0-9]?[0-9]|1[0-1][0-9]|12[0-7])\."
You're trying to match "Received: 200" (your recipe) with "Received: from
(lots of other chars) 200"
Twit.
Your recipe should look for 'Receive:.*200..."
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail