procmail
[Top] [All Lists]

Re: AOK but need to include original message...

1995-11-30 18:17:27
Eric wants to quote the letter.

I would like, as an option, the ability to include the original
sender's message (if any) *below* the outgoing autobot.txt form
response when autoreplying.  

        Use sed and the -k option to formail
 
:0hc
* !^FROM_DAEMON
* !^X-Loop: eric(_at_)garlic(_dot_)com
* ^TOautobot(_at_)hilding(_dot_)com
| (formail -rk -A"Precedence: junk" \
               ^ I added that.

    -I"From: Autobot Test <autobot(_at_)hilding(_dot_)com>" \
    -I"Subject: Test of an Autobot" \
    -A"X-Loop: eric(_at_)garlic(_dot_)com" ) | \
      sed -e '/^$/!b' -e x -e '/./b' -e x -e 'r filename' | \
          $SENDMAIL -oi -t 

I am not sure if I mean this as a joke.

Soren

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