[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Procmail recipe.



On Sun, 2 Mar 1997, Patrick Ryan wrote:
> :0
> * ^From .*debian-user*
> debian-user-l-inbox
> 
> :0
> * ^To: .*debian-user*
> debian-user-l-inbox
> 
> :0
> * ^Cc: .*debian-user*
> debian-user-l-inbox

This should be the same as:
:0
* ^From .*debian-user*
* ^To: .*debian-user*
* ^Cc: .*debian-user*
debian-user-l-inbox

Or you could just use the built in macros ^TO and ^FROM:

:0
* ^TO.*debian-user
* ^FROM.*debian-user
debian-user-l-inbox

Since ^TO will match all the addressing mechanisms procmail can check,
To:, Apparently-To:, Cc:, and any others it knows about. In fact, the
^FROM should be rather extraneous (and anyway, the debian list server
doesn't rewrite the headers the way I like them, so it doesn't do
redirects right).

 ---
Elie Rosenblum (fnord@erols.com)     System Administrator, Erol's Internet
                "When Cthulhu calls, he calls _collect_."



Reply to: