On Wed, 23 Apr 1997 21:45:41 -0500,
Dennis Davison <ddavison(_at_)execpc(_dot_)com> wrote:
Below is a simple mailer (list) that I'm currently using. My dilemma is
to get formail working to add a "Reply-To" field in the header.
If I understand this correctly, there's only a simple change you need
to make:
:0* ^TO.*beer@
{
:0fh
| formail -A"Reply-To: The address you want here, perhaps
<beer(_at_)execpc(_dot_)com>"
:0 c! ftz(_at_)fna(_dot_)gov
:0 c! biham(_at_)dave(_dot_)rl(_dot_)ny
:0 c! hoen(_at_)iac(_dot_)nt
:0 c! Carine(_at_)ab(_dot_)org
:0 c! em(_at_)fox(_dot_)ns(_dot_)ca
:0 c! jerbb(_at_)and(_dot_)stanford(_dot_)edu
:0 c! dr(_at_)doctor(_dot_)com
:0 c! kor(_at_)xn(_dot_)com
:0! ddavison(_at_)execpc(_dot_)com
}
This will filter (f) the header (h) adding the requested field and
gluing everything back again. You can use the f flag to transmogrify
the message in other ways too; anything the pipeline produces will
replace the original message (or header, in this case, with the h
flag) so, ahem, +only+ your +imagination+ will +limit+ what you can
+do+.
No matter what I try it doesn't seem to work. I'm using a Virtual
Domain so doing Smartlist is out and so is Majordomo...
(This is why I'm not sure I understand the question. What does it
mean? Anyway; as usual, it might be a good idea to show what you did
try and explain how it failed.)
Hope this helps,
/* era */
--
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r. <http://www.iki.fi/~era/>
* Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>