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

Marc Haber mh+pkg-exim4-users at zugschlus.de
Sat Oct 6 18:14:49 UTC 2007


On Fri, Oct 05, 2007 at 09:21:39AM -0500, Ken R. Dye wrote:
> mh+pkg-exim4-users at zugschlus.de said:
> 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 [207.115.36.24]
> 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

So, mh talks SMTP on a pipe to exim, which is a rather unusual method
of delivering e-mail.

> > 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.

Are you positive that it is exim inserting the Sender:-Header?

Try: swaks --pipe 'exim -bs' --from <your address> --to <other address>

and see whether the generated message has a Sender header. If it
doesn't, then you need to yell at mh, not at exim.

> > 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.

Running a mail server is rocket science, you cannot get along without
reading docs.

>   I would hope an upgrade from sarge to edge using a trivial exim4
>   config would not require headaches like this.

Upgrading from sarge to etch (sic!) generally does not require
headaches from the exim side.

> > > 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.

I see.

> > > 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?

as far as I know, the default was not changed. I cannot reproduce your
issue here.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190



More information about the Pkg-exim4-users mailing list