procmail
[Top] [All Lists]

Re: Distributing mail for a group

1996-12-31 05:21:00
On Mon, 30 Dec 1996, Chuck Kennedy wrote:

:0 c
* ^TOmarco
! mpact(_at_)aa(_dot_)net

My thought is to forward the message with the subject changed to "Mail for
Marco" and add an additional line to the body with the original subject.
I'm not sure how I would do that.

        Actually it's not all that hard.  you just need to add one line
for the recipies, like this:

:0 c
* ^TOmarco
| formail -i "Subject: Mail for Marco"
! mpact(_at_)aa(_dot_)net

        That will change the subject to "Mail for whoever" and change the
current subject field to a field called Old-Subject:.

        Hope this helps.

================================================================  /| |\
James V. Di Toro III            | "I've got a bad feeling        / |_| \/\
System Administrator, GATS, Inc.|   about This" -various        |()\ /  ||
W: 757/865-7491  F:757/865-1021 |------------------------------ |---0---_|
   karrde(_at_)gats(_dot_)hampton(_dot_)va(_dot_)us     |  
www.gats.hampton.va.us        \ / \ /
webmaster(_at_)gats(_dot_)hampton(_dot_)va(_dot_)us     |                       
          ^:::^

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