procmail
[Top] [All Lists]

Carbon copy for each TO

1997-04-30 07:33:00
Hello,

I am trying to set up some complicated (for me) procmail rules. I'd like to
have a copy of a mail sent to a couple of persons in every persons folder. If
this fails, then it should be put in a folder default (The mail is from an
"unknown" person). If at least one copy has been saved, then I don't want it
in default.

The problem is how to make procmail remember it did deliver something? The use
of c makes procmail forget about it.

Here is a ficticious sample of what I'd like to do:

:0: c
* ^TObob
bob

:0: c
* ^From.*bob
bob

:0: c
* ^TObob
bob

:0:
* [if has not been carbon copied yet, then]
default

Thanks in advance,
        Axel.
-- 
Axel Thimm   thimm(_at_)physik(_dot_)fu-berlin(_dot_)de thimm(_at_)ifh(_dot_)de

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