procmail
[Top] [All Lists]

Formail newbie question

1997-09-19 17:14:21

Never having used formail, I have a "how-to" question:

I would like to process all incoming mail to a certain account, extract
the subject header, and move it to the top of the message body.  Then I
would like to add my own static subject header.  So, for example, a
message comes in like this:

From: Me
To: AccountX
Subject: MyTopic

This is my message body.

I would like it to be replaced with this:

From: Me
To: AccountX
Subject: NewSubject

Subject: MyTopic

This is my message body.

Is this possible with formail or other tools?  If so, how would I do it?

Thanks,
Alan

P. S. -- Please reply to me directly, as I am not subscribed to this list.

/-------------------------------+---------------------+-----------------\
| Alan S. Dobkin @ Emory U. ITD | 1784 N. Decatur Rd. | E-Mail Address: |
|   Operating Systems Analyst   | Suite 300 (3rd Fl.) |     ADobkin     |
|  Internet/Intranet Services   | Atlanta, GA 30322   |   @Emory.Edu    |
| http://ADobkin.ITD.Emory.Edu/ |  (404) 727-2766     | FAX #: 727-2599 |
\-------------------------------+---------------------+-----------------/

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