procmail
[Top] [All Lists]

Re: More than one header condition?

1999-01-27 22:57:12
On 28 January 1999, homega(_at_)vlc(_dot_)servicom(_dot_)es 
<homega(_at_)vlc(_dot_)servicom(_dot_)es>
wrote:
Hi again,

I'm getting some mail from the mutt mailing list not processed
as I wished.  The most common header I thought to have found was
Mail-Followup-To, but it's not as common.  Just wondering whether this
syntax would be correct:

:0:
*^(From|To|Cc):(_dot_)*(_at_)mutt(_dot_)org
mutt

so to avoid having to repeat it for each possible header line.

    You'll seldom receive messages with a "From:" header pointing to a
mailing list, :-) and the canonical way of matching "To:" and "Cc:" is
the ^TO_ macro.  That is, just try this:

        :0:
        * ^TO_mutt
        mutt

It will also take care of both mutt-dev and mutt-users addresses.

    Regards,

    Liviu Daia

-- 
Dr. Liviu Daia               e-mail:   daia(_at_)stoilow(_dot_)imar(_dot_)ro
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc

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