procmail
[Top] [All Lists]

Re: I'm sure I'm brain dead, but I can't see the problem in this recipe

2004-08-25 21:44:40
Chuck Campbell wrote:
[...]
In reality, I had this:


* (^List-id:.*)\<(satalk|spamassassin)\>
sa

Won't that match either:

^List-id: <satalk>

^List-id: <spamassassin>

but NOT:

List-Id: "SpamAssassin Users" <users(_at_)spamassassin(_dot_)apache(_dot_)org>
                               ^^^^^^            ^^^^^^^^^^^
In other words, aren't you matching <satalk> or <spamassassin> -- missing either some wildcards between the matched words (satalk|spamassassin) and the angle brackets (<>)?

How about:

* (^List-id:.*)\<.*(satalk|spamassassin).*\>

?

- Bob

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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