procmail
[Top] [All Lists]

Re: Why did this receipe fail?

1998-05-28 09:51:24
        Author:        Steve Woodard <woodard(_at_)kodak(_dot_)com>
        Original-Date: Thu, 28 May 1998 10:59:22 -0400
        Message-ID:    <356D7BCA(_dot_)48C8(_at_)kodak(_dot_)com>

I have this recipe in my .procmailrc file-
# trash anything coming from smut sites
:0
* ^From.*(sex|xxx)
* ^TO.*(sex|xxx)
* ^Subject:.*(sex|xxx)
* ^Subject:.*adults
/dev/null

Why did mail with this subject line get through my filter?-
Subject: Wholesale XXX Videos


It got through because your recipe asks for 4 matches, including 2 Subject 
lines.

That recipe will never ever match anything.

Make them separate recipes..... except the last one could be

* ^Subject:.*(sex|xxx|adults)

TjL



<Prev in Thread] Current Thread [Next in Thread>