procmail
[Top] [All Lists]

Re: Cutting from and forwarding

2000-09-22 10:08:24
George Orups wrote,

| I can cut "from:" field but how can I send only "from:" field to another
| email adress, but the whole message save in my inbox?

To get two deliveries from one message, you have to deliver a copy of it to
the first destination and let the original go to the second.  Since I'm not
positive of exactly what you mean by "cutting `from:'" or how you have that
successfully set up, I don't know how to add a `c' flag to it.  Therefore,
we'll do the save to the inbox first, with a `c' flag to tell procmail to
save a copy instead of the original:

  :0 flags for interpreting conditions
  * conditions
  {
   :0c:
   $DEFAULT

   routine_for_cutting_from:_and_sending_it_to_the_other_address
  }
   
It can also be done without braces by using `A' flags, but I don't know 
what your cutting-and-sending routine consists of, so I couldn't say exactly
how to put the `A' flags into it.  This way you can use it pretty much as you
already have it.


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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