procmail
[Top] [All Lists]

Re: Question about a recipe..

2005-11-14 00:48:09
Glenn Sieb:

LISTS='((List1|List2)(-request))'

Only lookin at this, I would make it

  LISTS = '((List1|List2)(-request)?)'

because that would make the '-request' optional. But are you sure that
the '-request' part is in the address inside a ^TO_ header field? See
the expansion of '^TO_' in `man procmailrc`.

There are better ways to find the LISTNAME in a message.

google: procmail "listname identification"

http://www.professional.org/procmail/listname_id.rc

I use a set of recipes grown from those.

-- 
Grtz, Ruud


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