procmail
[Top] [All Lists]

Re: cyberpromo got thru

1997-05-14 15:44:00
On May 13,  8:43pm -0400, Robert Nicholson 
<steffi2(_at_)dgs(_dot_)dgsys(_dot_)com> wrote:
OK, looks like 

request(_at_)cyberpromo(_dot_)com matched FROM_MAILER

Looks like I can't use that rule to catch mailer messages anymore.

Don't forget that procmail processes your .procmailrc sequentially.
Just put your spam filter first.  I have a rather heavy-handed recipe
which works well:

    # Anything with cyberpromo.com anywhere in the header other than
    # the subject is spam.
    :0
    *   \<cyberpromo\.com\>
    *   ! ^Subject: .*\<cyberpromo\.com\>
    {
            EXITCODE=77
            :0:
            spam
    }

== Bob

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