procmail
[Top] [All Lists]

Re: comsat/biff notification

1997-05-06 07:07:00
COMSAT=off

and 

COMSAT=on

That would be globally in the .procmailrc. I'm looking for something that
can be set rule by rule.

Of course it will work on a rule by rule basis -- that's the beauty of
procmail; *ANYTHING* can be limited to a specific rule, including variable
assignments.

You could start with comsat notification turned off; put this somewhere at
the top of your procmailrc:

COMSAT=OFF

Then write recipes for which you want comsat notificiation like this:

:0
* some_condition
{
        COMSAT=ON

        :0
        some_action_line
}

-- Lars

---
Lars Kellogg-Stedman * lars(_at_)bu(_dot_)edu * (617)353-8277
Office of Information Technology, Boston University

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