Why not:
formail -Xfrom:
On Tue, 20 May 1997, Dan Kanagy wrote:
I have a question about how formail treats the Reply-to: header. I
wrote the following recipe to deal with a recurring problem in a
mailing list I moderate.
:0 c
* ^Content-Type: *iso-8859-1
* ^To: HONYAKU
| (formail -r ; cat $PMDIR/iso-8859.txt) | $SENDMAIL -oi -t
The list is bilingual and discussions take place in English and
Japanese. Japanese should be sent to the list using JIS encoding, or
the iso-2022-jp character set. However, new subscribers often get
this wrong and use Shit-JIS encoding instead, which in MIME-aware mail
clients is converted to printed-quotable and sent in the iso-8859-1
charset. Thus my Content-Type test above.
The list is a LISTSERV list, and the From: header is the individual
author of the e-mail, and the Reply-to: header is set to the list
address. Obviously, I want my warning message to go to the individual
and not to the list. In my recipe above, will formail use the From:
address to reply to, which is what I want, or will it reply to the
Reply-to address, which is what I don't want. If the latter, is the
solution to add a "-I Reply-To:" to the recipe?
--
_____________________________________________________________________________
Dan Kanagy finger for PGP public key
dkanagy(_at_)gol(_dot_)com
Tokyo, Japan
wordwise(_at_)netcom(_dot_)com