Re: Insert Header into Body2001-05-25 14:43:06Sandeep asked,
| I wish to insert the "FROM" & "SUBJECT" header at the start of the message
| body.
Here's one way:
:0
* ^\/From:.*
{ FROM=$MATCH }
:0
^\/Subject:.*
{ SUBJECT=$MATCH }
:0fh
| cat - ; echo "$FROM" ; echo "$SUBJECT" ; echo ""
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
|
|
||||||||||||||||