On Wed, 7 Apr 1999, Christian Dysthe wrote:
> is it possible to make exim rewrite the "Sender" field to equal the "From"
> field set by an email client?
Doesn't something like
*@* $h_from: s
work? (Of course, a check that $h_from isn't empty before using it would
be more robust.)
However, note that the RFCs state that it is redundant to have both a
Sender: and a From: field with the same contents. The whole point of
having Sender: is for cases when it is *not* the same as From:.
Consequently, perhaps you should consider just deleting the Sender:
header instead. Look at headers_remove in the generic transports options
(chapter 15).
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***