procmail
[Top] [All Lists]

Re: Adding to a field?

1996-08-01 13:16:08


      What the best way to add to a field with procmail, formail?  I 
want procmail to send some messages to formail so it can add an 
additional address to the Reply-To field. E.g.:

      Orig:
      Reply-To: john(_at_)somewhere(_dot_)com

      New:
      Reply-To: john(_at_)somewhere(_dot_)com, 
mary(_at_)somewherelse(_dot_)com

      Is there a smooth way to do this?

How about this one?

:0 H
* ^Reply-To: john(_at_)somewhere(_dot_)com
|$FORMAIL -rt -I "Reply-To: john(_at_)somewhere(_dot_)com, 
mary(_at_)somewherelse(_dot_)com" | $SENDMAIL -oi -t

-
____________________________________________________________________________
Doug Hughes                                     Engineering Network Services
System/Net Admin                                Auburn University
                        doug(_at_)eng(_dot_)auburn(_dot_)edu


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