The following (negative) procmail patterns do not match:
:0:
* ! ^(Subject|From):.*sunglas
* ! ^(Subject|From):.*Sunglasses
* ! ^(Subject|From):.*Oakley
* ! ^(Subject|From):.*Ray*Ban
* ! ^(Subject|From):.*?utf-
procmail logs:
procmail: Match on ! "^(Subject|From):.*sunglas"
procmail: Match on ! "^(Subject|From):.*Sunglasses"
procmail: Match on ! "^(Subject|From):.*Oakley"
procmail: Match on ! "^(Subject|From):.*Ray*Ban"
procmail: Match on ! "^(Subject|From):.*?utf-"
However, when I test with egrep for a (positive) match with these patterns,
then they do match.
$ cat test_patterns
^(Subject|From):.*sunglas
^(Subject|From):.*Sunglasses
^(Subject|From):.*Oakley
^(Subject|From):.*Ray*Ban
^(Subject|From):.*?utf-
$ egrep -i -f test_patterns rayban.mail
From: "RayBan Sunglasses" <service(_at_)uqmpkfx(_dot_)com>
Subject: =?utf-8?B?UmF5QmFuIFN1bmdsYXNzZXMgIiA=?=
From: "RayBan Sunglasses" <service(_at_)zvzlxaw(_dot_)com>
Subject: =?utf-8?B?UmF5QmFuIFN1bmdsYXNzZXMgIiA=?=
What is wrong with my procmail recipes?
Eric
____________________________________________________________
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