Is it possible to specify multiple "action" lines for any given 
procmail rule?

Like, say I want to achieve the following requirements:

o  rewrite the To: header field such that it will appear as what
   I rewrite it at the recepient.

o  do the same (or insert) a CC: header field.

o  then send it off to whoever's in the To: / CC: fields I just 
   rewrote.

I have this, which doesn't do the job, though:

--8<--
:0
* ^From: Mail Delivery Subsystem
| (formail -I "To: [EMAIL PROTECTED]") |\
  (formail -I "CC: [EMAIL PROTECTED], [EMAIL PROTECTED]") | $SENDMAIL -t

:0
! [EMAIL PROTECTED]
--8<--

I suppose I need to rewrite Envelope headers, correct? How'd I go 
about doing that?

TIA
Sven

Reply via email to