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

Re: Procmail recipe.



On Sun, 2 Mar 1997, Elie Rosenblum wrote:

> 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).

I find that this doesn't work reliably (i'm not sure if the two * lines
are ANDed or ORed - I think it's AND). I have to do something like:

:0 E
* ^TO.*debian-user
$MAIL/Lists/debian/user/incoming

:0 E
* ^FROM.*debian-user
$MAIL/Lists/debian/user/incoming

Craig


Reply to: