Re: email lacks sender address
On Wed 27 Apr 2022 at 14:57:19 -0500, David Wright wrote:
> On Wed 27 Apr 2022 at 08:05:46 (-0400), Haines Brown wrote:
> > David. thanks for hanging in with me!
> >
> > On Tue, Apr 26, 2022 at 03:23:17PM -0500, David Wright wrote:
> >
> > > Do you know why mutt is adding a Sender: line to your emails?
> > > Did you ask it to, or have you been asked to by someone else?
> >
> > No, I didn't ask mutt to add a Sender: line and I do not know what
> > evidence there it that it is doing so.
>
> OK. So I would drop all conversation about a "Sender: line".
> You are the sender, the person who drops the letter in the blue
> box on the street. The headers that are relevant are "from"
> headers, "From:" in the email and "MAIL FROM" in the envelope.
> So all these error messages that talk about a missing "sender"
> are just using the agent, you, in place of the preposition, from.
>
> The lines which principally concern you/your system are:
>
> 1) The EHLO line, which you typically don't see, is read from
> /etc/mailname by exim, is set to lenin.histomat.net, and works.
> You set it early in the debian-installer, if Devuan follows
> along the same path. You confirmed it immediately after you
> told exim "mail sent by smarthost; … … ", on the next screen
> (again, if Devuan follows).
The EHLO is typically seen in the first Received: header. In your
case it is axis.corp. It is not obtained from /etc/mailname by exim.
I would guess you have a line in /etc/hosts like this:
127.0.1.1 axis.corp HOSTNAME
A suitablely configured exim gets the EHLO from this line. To test,
use
127.0.1.1 test.axis.corp HOSTNAME
and send a mail.
I would suggest
https://wiki.debian.org/PkgExim4UserFAQ#How_does_exim_find_out_its_host_name_to_use_in_HELO.2FEHLO.3F
as a reasonable source of information.
--
Brian.
Reply to: