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

Ken R. Dye dye1146 at sbcglobal.net
Fri Oct 5 14:21:39 UTC 2007

mh+pkg-exim4-users at zugschlus.de said:
> On Wed, Oct 03, 2007 at 09:20:07AM -0500, Ken R. Dye wrote:
> > ( 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....)
> What do your logs say?

Plain old "mail"

2007-10-05 08:04:41 1IdmrB-0001RS-Ep <= dye at adsl-76-223-44-235.dsl.chcgil.sbcgl
obal.net U=dye P=local S=465
2007-10-05 08:04:42 1IdmrB-0001RS-Ep => dye1146 at sbcglobal.net R=smarthost 
T=remote_smtp_smarthost H=mail.sbcglobal.net []
2007-10-05 08:04:42 1IdmrB-0001RS-Ep Completed

MH "comp":

2007-10-05 08:06:04 1IdmsW-0001Ra-7S <= dye at adsl-76-223-44-235.dsl.chcgil.sbcgl
obal.net U=dye P=local-esmtp S=610
2007-10-05 08:06:04 1IdmsW-0001Ra-7S => dye1146 at sbcglobal.net R=smarthost 
T=remote_smtp_smarthost H=mail.sbcglobal.net []
2007-10-05 08:06:04 1IdmsW-0001Ra-7S Completed

> Do you know how mh delivers the messages to exim?

execve("/usr/sbin/sendmail", ["sendmail", "-bs", "-odb", "-oem", "-om"], [/* 
46 vars */]) = 0

Sendmail is a soft link to exim4

> > 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
> > 
> > #local_from_check = false
> > #local_sender_retain = true
> > #untrusted_set_sender = *
> > .endif
> You commented out the settings that allow you to set your arbitrary
> sender, doing exactly the opposite what you want and what would be the
> default.

The commenting out did not appear to change anything other than what the 
"Sender:" field that was being forcibly injected into the message contained.
> You might want to read spec.txt chapter 44.16, or grep spec.txt for
> "Sender:". The documentation is rather verbose.

Yeah, just what I was trying to avoid.  I would hope an upgrade from sarge to
edge using a trivial exim4 config would not require headaches like this.
> > 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).
> Why do you update your /etc/mailname?

So I can have an easy, short lifespan email address that I don't have to worry
about getting spamified.  If it does, just bring DSL up/down and get a new one.
> > Is there a way to accomplish this?
> It should be the default.

That is what I am saying....it *was* the default (that is, not injecting
a "sender:" field into the mssage) in sarge....why was it changed for edge?


More information about the Pkg-exim4-users mailing list