procmail
[Top] [All Lists]

Re: Case insensitive searches?

2003-09-02 03:29:02
On Sep 1, 2003, at 10:52 AM, Michael D Schleif wrote:
Dragoncrest <dragoncrest(_at_)voyager(_dot_)net> [2003:09:02:00:20:59-0700] scribed:

Your filter is looking for both "virus" and "infected" to be in the subject
and body. All four conditions must be true to catch. The example your
giving only has "virus" in the subject. I think you need a lock :0: as
well.

        Ok, how would I set that rule then so that "if any of the
following are true, due this" rather than "all of the following"?? I'm
guessing it's done with that lock, correct?

man procmailrc

Also man procmailsc for a different method:

:0:
* 1^0 ^Subject:(.*\<)?virus
* 1^0 ^Subject:.*infected
#* B ?? *virus
#* B ?? *infected

In my opinion, these are completely unnecessary (and expensive) checks.

--
Sarah, age 18, says "man, once you go crayola you can't go back."


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