procmail
[Top] [All Lists]

Re: Handling cc's and listmail

2000-05-18 07:31:57
On Mon, May 15, 2000 at 04:59:20AM -0700, dman(_at_)nomotek(_dot_)com wrote:
I am looking for a good ( = simple + effective + elegant + well-commented)
:-) way to continue to send, e.g., procmail list mail to my procmail file
while cc's addressed to me can come to me and not also get stored in
the procmail file.

:0:
* ^X-Loop: procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de
procmail

This will deliver all mail with an "X-Loop" header of 
procmail(_at_)informatik(_dot_)(_dot_)(_dot_)
to the folder "procmail" in your $MAILDIR.
Anything CCd to you will not have the list headers, as it will have come
directly from the sender, not through the list server, thus it won't match
this recipe.

-- 
Andrew Edelstein                http://andrew.pure-chaos.com

"Please, Andrew - change this; its doing things to me..."
                                Caramia, Userfriendly fan list

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