Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #247711
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: email lacks sender address |
| Date | 2022-04-28 19:10 +0200 |
| Message-ID | <EhfOp-bOLL-21@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <Egtqp-bkye-1@gated-at.bofh.it> <EgzYR-botX-3@gated-at.bofh.it> <EgOEx-bxH5-1@gated-at.bofh.it> <EgVZn-bBWw-1@gated-at.bofh.it> <EhdMB-bNiT-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu 28 Apr 2022 at 15:52:00 (+0100), Brian wrote:
> On Wed 27 Apr 2022 at 14:57:19 -0500, David Wright wrote:
> > 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.
I haven't yet tried actually prefixing another component, but I did
make some changes (acer is the test subject, axis is the smarthost).
Did you mean:
127.0.1.1 test.acer.corp test or 127.0.1.1 test.acer.corp acer ?
I'm a bit mystified at the moment, so here's what I did. I edited
mailname and hosts, adding the "1"s, reconfigured exim (making no
changes to the dialog boxes), and rebooted.
$ cat /etc/mailname
acer.corp1
$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 acer1.corp acer1
192.168.1.14 axis.corp axis
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
$ hostname
acer
$ domainname
(none)
$ dnsdomainname
dnsdomainname: Name or service not known
$ mail.mailutils -s acer1.corp1 auser@axis
Cc:
acer1 in hosts, corp1 in mailname
$
and here's the email on axis:
>From auser@acer.corp Thu Apr 28 11:37:06 2022
Return-path: <auser@acer.corp>
Envelope-to: auser@axis
Delivery-date: Thu, 28 Apr 2022 11:37:06 -0500
Received: from [192.168.1.10] (helo=acer)
by axis.corp with esmtp (Exim 4.92)
(envelope-from <auser@acer.corp>)
id 1nk78c-0001yL-Bm
for auser@axis; Thu, 28 Apr 2022 11:37:06 -0500
Received: from auser by acer with local (Exim 4.94.2)
(envelope-from <auser@acer>)
id 1nk78b-0000HX-6v
for auser@axis; Thu, 28 Apr 2022 11:37:05 -0500
Subject: acer1.corp1
To: auser@axis
X-Mailer: mail (GNU Mailutils 3.10)
Message-Id: <E1nk78b-0000HX-6v@acer>
From: me <auser@acer.corp>
Date: Thu, 28 Apr 2022 11:37:05 -0500
acer1 in hosts, corp1 in mailname
^D
and the logs from each:
2022-04-28 11:37:05 1nk78b-0000HX-6v <= auser@acer U=auser P=local S=370
2022-04-28 11:37:06 1nk78b-0000HX-6v => auser@axis R=smarthost T=remote_smtp_smarthost H=192.168.1.14 [192.168.1.14] K C="250- 387 byte chunk, total 387\\n250 OK id=1nk78c-0001yL-Bm"
2022-04-28 11:37:06 1nk78b-0000HX-6v Completed
2022-04-28 11:37:06 1nk78c-0001yL-Bm <= auser@acer.corp H=(acer) [192.168.1.10] P=esmtp K S=559 id=E1nk78b-0000HX-6v@acer
2022-04-28 11:37:06 1nk78c-0001yL-Bm => auser <auser@axis> R=local_user T=mail_spool
2022-04-28 11:37:06 1nk78c-0001yL-Bm Completed
So, for the hostname, /etc/hostname (acer, untouched) or DHCP (I'm
not sure if my router would send that, though it does know acer's
name) seems to be winning.
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-24 22:10 +0200
Re: email lacks sender address Jonathan Dowland <jon+debian-user@dow.land> - 2022-04-24 23:40 +0200
Re: email lacks sender address David Wright <deblis@lionunicorn.co.uk> - 2022-04-25 00:40 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-25 05:40 +0200
Re: email lacks sender address David Wright <deblis@lionunicorn.co.uk> - 2022-04-25 06:40 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-25 17:50 +0200
Re: email lacks sender address David Wright <deblis@lionunicorn.co.uk> - 2022-04-25 18:50 +0200
Re: email lacks sender address Brian <ad44@cityscape.co.uk> - 2022-04-25 19:00 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-25 21:10 +0200
Re: email lacks sender address Jonathan Dowland <jon+debian-user@dow.land> - 2022-04-26 11:20 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-26 15:30 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-26 17:10 +0200
Re: email lacks sender address David Wright <deblis@lionunicorn.co.uk> - 2022-04-26 22:30 +0200
Re: email lacks sender address Curt <curty@free.fr> - 2022-04-27 11:30 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-27 11:50 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-27 14:10 +0200
Re: email lacks sender address Greg Wooledge <greg@wooledge.org> - 2022-04-27 14:30 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-27 16:40 +0200
Re: email lacks sender address Jonathan Dowland <jon+debian-user@dow.land> - 2022-04-27 18:20 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-27 23:00 +0200
Re: email lacks sender address Brian <ad44@cityscape.co.uk> - 2022-04-27 14:50 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-27 15:40 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-27 16:30 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-27 16:50 +0200
Re: email lacks sender address Greg Wooledge <greg@wooledge.org> - 2022-04-27 17:00 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-27 17:30 +0200
Re: email lacks sender address <tomas@tuxteam.de> - 2022-04-27 15:40 +0200
Re: email lacks sender address Brian <ad44@cityscape.co.uk> - 2022-04-27 16:40 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-27 17:10 +0200
Re: email lacks sender address Greg Wooledge <greg@wooledge.org> - 2022-04-27 17:30 +0200
Re: email lacks sender address Brian <ad44@cityscape.co.uk> - 2022-04-27 18:10 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-27 19:50 +0200
Re: email lacks sender address Greg Wooledge <greg@wooledge.org> - 2022-04-27 20:40 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-27 23:50 +0200
Re: email lacks sender address Brian <ad44@cityscape.co.uk> - 2022-04-27 21:10 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-27 23:00 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-27 22:50 +0200
Re: email lacks sender address <tomas@tuxteam.de> - 2022-04-28 07:00 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-27 16:20 +0200
Re: email lacks sender address Brian <ad44@cityscape.co.uk> - 2022-04-27 20:30 +0200
Re: email lacks sender address Greg Wooledge <greg@wooledge.org> - 2022-04-27 21:40 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-27 23:30 +0200
Re: email lacks sender address David Wright <deblis@lionunicorn.co.uk> - 2022-04-27 22:00 +0200
Re: email lacks sender address Greg Wooledge <greg@wooledge.org> - 2022-04-27 22:30 +0200
Re: email lacks sender address Brian <ad44@cityscape.co.uk> - 2022-04-28 17:00 +0200
Re: email lacks sender address David Wright <deblis@lionunicorn.co.uk> - 2022-04-28 19:10 +0200
Re: email lacks sender address Greg Wooledge <greg@wooledge.org> - 2022-04-28 19:20 +0200
Re: email lacks sender address David Wright <deblis@lionunicorn.co.uk> - 2022-04-29 01:50 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-27 17:20 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-27 17:30 +0200
Re: email lacks sender address Curt <curty@free.fr> - 2022-04-25 14:10 +0200
Re: email lacks sender address David Wright <deblis@lionunicorn.co.uk> - 2022-04-25 16:20 +0200
Re: email lacks sender address Greg Wooledge <greg@wooledge.org> - 2022-04-25 16:30 +0200
Re: email lacks sender address David Wright <deblis@lionunicorn.co.uk> - 2022-04-25 17:10 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-25 16:40 +0200
Re: email lacks sender address Vincent Lefevre <vincent@vinc17.net> - 2022-04-26 17:20 +0200
Re: email lacks sender address Curt <curty@free.fr> - 2022-04-26 17:40 +0200
Re: email lacks sender address 황병희 <soyeomul@doraji.xyz> - 2022-04-25 03:20 +0200
Re: email lacks sender address Jim Popovitch <jim@k4vqc.com> - 2022-04-25 03:50 +0200
Re: email lacks sender address 황병희 <soyeomul@doraji.xyz> - 2022-04-25 06:50 +0200
Re: email lacks sender address Haines Brown <haines@histomat.net> - 2022-04-25 05:40 +0200
Re: email lacks sender address 황병희 <soyeomul@doraji.xyz> - 2022-04-25 07:00 +0200
Re: email lacks sender address Greg Wooledge <greg@wooledge.org> - 2022-04-25 14:50 +0200
Re: email lacks sender address 황병희 <soyeomul@doraji.xyz> - 2022-04-26 02:50 +0200
Re: email lacks sender address Celejar <celejar@gmail.com> - 2022-04-26 18:10 +0200
Re: email lacks sender address Byung-Hee HWANG <soyeomul@doraji.xyz> - 2022-04-27 03:10 +0200
Re: email lacks sender address Byung-Hee HWANG <soyeomul@doraji.xyz> - 2022-04-27 03:20 +0200
Re: email lacks sender address Celejar <celejar@gmail.com> - 2022-04-27 17:30 +0200
Re: email lacks sender address Byung-Hee HWANG <soyeomul@doraji.xyz> - 2022-04-27 20:40 +0200
Re: email lacks sender address (SOLVED) Haines Brown <haines@histomat.net> - 2022-05-08 18:10 +0200
Re: email lacks sender address (SOLVED) Charles Curley <charlescurley@charlescurley.com> - 2022-05-08 19:10 +0200
Re: email lacks sender address (SOLVED) David Wright <deblis@lionunicorn.co.uk> - 2022-05-09 02:50 +0200
Re: email lacks sender address (SOLVED) Charles Curley <charlescurley@charlescurley.com> - 2022-05-09 03:30 +0200
Re: email lacks sender address (SOLVED) David Wright <deblis@lionunicorn.co.uk> - 2022-05-09 04:40 +0200
csiph-web