Hmmm, this is not one of my strong points. Perhaps
# 'fb' -- filter body of message
:0fb
* ^Subject:.*test
| (cat -; cat /path/to/footer/file)
# if previous recipe succeeded, forward message
:0A
! c(_at_)hostname(_dot_)com
On Fri, 18 Aug 2000, RUPINDER SINGH GILL wrote:
Hi There,
I am interested in knowing is it actually possible to append
something to the body of the mail itself using formail.
I will appreciate any brain waves.
Regards
Goldy Gill
From: Matt Dunford <matt(_at_)stary(_dot_)zoomedia(_dot_)com>
To: "Yeh, Paul 1047" <paul(_dot_)yeh(_at_)acefis(_dot_)com>
CC: "'procmail(_at_)informatik(_dot_)RWTH-Aachen(_dot_)de'"
<procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de>
Subject: RE: How to forward an email and change the Subject by using procm
ail?
Date: Thu, 17 Aug 2000 16:55:17 -0700 (PDT)
Read 'man formail' for more info on formail.
Check out the faqs linked from www.procmail.org.
# (untested, of course!)
# f -- use pipe as filter
# h -- filter header info (in this case you're
# changing the Subject header)
:0fh
* Subject:.*test
| formail -I 'Subject: Pls ignore: test'
# A -- if previous recipe succeeds
# forward message with altered Subject
:0A
! c(_at_)myhostname(_dot_)com
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail