procmail
[Top] [All Lists]

Log rule actions?

2003-07-19 14:37:12
Hello all,

I just joined the list after much frustration and beign unable to find what (would seem to be) some simple information online.

I have, for example, this rule below which matches email with a SpamAssassin score of 1.1, and the 2 reasons which gave it that score. (This is the typical flags that SpamAssassin adds to my postmaster double-bounce mail from spammers). This mail is then dropped (because I don't need to see 50 double-bounce messages a day that I can't do much of anything about).

        :0
        * hits\=1\.1
        * tests\=FAILURE\_NOTICE\_2\,TO\_MALFORMED
        /dev/null

Now I would _like_ the phrase "Double Bounce Message - Dropped." to appear in the procmail log _AND_ have it delete the message, but everything I've tried in order to accomlish this has just messed up the rule. I can get it to log the phrase but then it give me a "Skipped: /dev/null" error (because it only handles 1 action) or i can get it to writes it to a file called 'Log="Double Bounce Message - Dropped."' (not what I want at all).

Any ideas? This is driving me nuts and I can't find any documentation which clearly states how to do it.

        - Phil

-----------------------------------------------
Phil Hilton
philip(_dot_)hilton(_at_)maine(_dot_)edu

Oracle - You need a database. Larry needs a new boat.
 MySQL - Larry can buy his own damn boat.
--


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