procmail
[Top] [All Lists]

Re: invalid regexp

1996-12-09 13:59:31
Ok, I am on some lists which send their mail directly to each user, rather
than having some useful "To" line which I could match.

I also want to not match majordomo stuff

If any of these are true, then don't match

* ! ^(Sender: nextppp(_at_)chinx1(_dot_)ThoughtPort(_dot_)COM|\
      From: Majordomo|\
      From Majordomo|\
      X-Mailing-List:|\
      BestServHost: lists.best.com|\
      X-Loop: TopTen(_at_)pobox(_dot_)com)

Would it be better to do this:

* ! ^Sender: nextppp(_at_)chinx1(_dot_)ThoughtPost(_dot_)COM
* ! ^(From|From:) Majordomo
* ! ^X-Mailing-List:
* ! ^BestServHost: lists.best.com
* ! ^X-Loop: TopTen(_at_)pobox(_dot_)com

?

I don't see why the latter would be any "better".  Just keep in mind that 
in the former the conditions are ORed while in the latter they are 
ANDed.  I don't think in your case it makes a difference.

Lates!
------------------------------------
Tim <bodysurf(_at_)netcom(_dot_)com>
"Finger" for PGP v2.6.3ia Public Key

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