procmail
[Top] [All Lists]

Re: [procmail] Keeping headers and adding body

1999-11-29 15:55:38
Armin Hahn wrote:

<> The .rc file I now have looks like this:
<> 
<> :0
<> * >50000
<> {
<>   :0c
<>   ! destaddress(_at_)server
<> 
<>   :0h:
<>   $DEFAULT
<> }
<> 
<> This works just fine.
<> But what I want is: I want the header to be kept as I got it, the body
<> to be dumped and instead of the original body I want the notification
<> I described above.

  :0
  * > 50000
  {
    :0c
    ! destaddress(_at_)server

    :0 bfi
    | cat /path/to/file/with/message.txt

    :0 :
    $DEFAULT
  }

Rgds,

RL
-- 
R A Lichtensteiger       rali(_at_)meitca(_dot_)com -or- 
rali(_at_)world(_dot_)std(_dot_)com
                         http://www.meitca.com/ITA/People/rali
    "Yes, you're doing things right, but are you doing the right things?"
    "Nope.  I'm just doing something dumb fast."

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