Ken R. Dye
2007-Oct-03 14:16 UTC
[Pkg-exim4-users] edge exim4 *always* adds Sender: field?
My external mail is handled by MH (incoming via fetchmail, outgoing sent by exim4/smarthost with specific From:, Reply-To: and Errors-to fields set, and a trivial exim4 config). I recently upgraded from sarge to edge, and am now getting some outgoing mail being dropped because of the Sender: field being inserted by exim4. I spent a few hours reading/googling, found and commented out the .ifndef MAIN_FORCE_SENDER #local_from_check = false #local_sender_retain = true #untrusted_set_sender = * .endif section in exim4.conf.template, and this seemed to stop it from inserting a bogus sender field. It still, however, adds a Sender: field, but a more proper one that passes sbcglobal.net''s filter (I couldn''t send mail to myself!). It used to send "dye at slider.debian.org", which was being rejected. It now sends "Sender: dye <dye at adsl-76-223-40-186.dsl.chcgil.sbcglobal.net>" (my /etc/mailname gets updated whenever my non-static IP address changes). Sarge used to NEVER insert a Sender: field, which is really what I want. Is there a way to accomplish this? --Ken