Re: Need exim to rewrite Sender header
* "Eric" == Eric G Miller <egm2@jps.net> wrote:
Eric> My ISP just changed their mailer, and they will no longer accept
Eric> mail that doesn't have a valid "Sender" header.
Are you sure it is about the sender header and not the SMTP envelope?
Eric> Since I have a home system with no domain name, my Sender header
Eric> reads $USER@$HOST. What I'd like exim to do is make the Sender
Eric> header be the same as the From header for any mail not being
Eric> delivered locally. I tried the header rewrite, but it
Eric> apparently doesn't work with the "smarthost" transport.
You do this in the remote_smtp transport.
headers_remove = "sender"
headers_add = "${header_from}"
or such (not tested).
Ciao,
Martin
Reply to: