[Pkg-exim4-users] edge exim4 *always* adds Sender: field?

Ken R. Dye dye1146 at sbcglobal.net
Wed Oct 3 14:20:07 UTC 2007



( a postscript to my previous mail.  The Sender: field only gets
inserted when I am setting From:, Reply-To and Errors-to: to my
real sbcglobal.net addresses via MH.  If I just use a plain vanilla
"mail dye1146 at sbcglobal.net", the "Sender:" field is not inserted....)

--Ken


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





More information about the Pkg-exim4-users mailing list