procmail
[Top] [All Lists]

Case insensitive searches?

2003-09-01 08:23:41
Just curious if procmail was supposed to do searches for keywords without worrying about case? Cause for some reason if a keyword is in caps and my recipe states lower case, it misses it. Here's what I'm using right now and it's not doing what it's supposed to about 50% of the time.

:0
* ^Subject:.*virus
* ^Subject:.*infected
* B ?? *virus
* B ?? *infected
mail/virus-bounces

It's supposed to catch those pesky virus bounce messages, but for some oddball reason it's missing some of them. Most noticeably from those using Symantec server side email scanner products and a few from other types of servers like McCaffe and groupware and such. Here's an example subject that was missed.

Subject: Virus Detected by Network Associates, Inc. Webshield SMTP V4.5 MR1a

I'm guessing that since the word Virus has a capital V in it, the filter missed it. I was thinking of shortening my test field down to "*irus", but I wasn't sure if it would get too many false positives. Any suggestions on that? Thanks.


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