Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #247529

Re: email lacks sender address

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: email lacks sender address
Date 2022-04-25 18:50 +0200
Message-ID <Ega4p-b8ce-3@gated-at.bofh.it> (permalink)
References <EfQIp-aWgw-1@gated-at.bofh.it> <EfT3z-aXDi-5@gated-at.bofh.it> <EfXJU-b0tf-3@gated-at.bofh.it> <EfYFX-b16y-1@gated-at.bofh.it> <Eg98l-b7Ej-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 25 Apr 2022 at 11:39:01 (-0400), Haines Brown wrote:
> On Sun, Apr 24, 2022 at 11:31:58PM -0500, David Wright wrote:
> > 
> > You need to look¹ at exim's logs (/var/log/exim4/mainlog,
> > /var/log/exim4/mainlog.1 and /var/log/exim4/mainlog.*.gz)
> > to see what it's trying to send. There should be a line
> > where mutt hands your email to exim
> >
> > DATE TIME UNIQUESTRING <= your-from-address U=username … message-ID
> > 
> > the string of interest    ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
> > 
> > That should be followed by:
> > 
> > DATE TIME SAMESTRING => to-address A=this B=that …
> 
> 2022-04-24 10:44:02 1nidSz-00068k-QP rejected from <> U=Debian-exim: message to>
> Envelope-from: <>
> Envelope-to: <root@histomat.net>
> 
> I infer that exim is not being given the envelop address of the
> sender.

Right, so now we need to know the origin of that particular email.
What do the logs show happening at that time.

If you, personally, sent it, presumably from mutt, and presumably
knowing that you did, then there's a problem in mutt, or in your
ability to compose a conforming email.

If the system sent it, which seems more likely because it's to root,
then we need to determine why the system that sent it didn't "know"
who it was. Typical senders include cron, sudo, SMART, etc.

Also, you need to check whether "you" is receiving a failed message
on the system. Because of the contents of /etc/aliases, this is
normally redirected to root/postmaster → root → sysadmin, where
sysadmin is the First User (who set up the machine), ie it should
arrive in /var/mail/you.

> > > what does "test-server.example.net" refer to? Sorry for my ignorance.
> > 
> > Read https://en.wikipedia.org/wiki/Example.com
> 
> Thanks David, but that was not my question. What test server is being 
> takled about?
> 
> I guess that the mail server is my own machine and so try:
> 
>   $ swaks  --to <an email address> ria72@yahoo.com --from haines@histomat.net
>   ...
>   <-  250 STARTTLS
>     -> MAIL FROM:<haines@histomat.net>
>   <** 553 5.7.2 [TSS09] All messages from 32.210.108.191 will be 
>     permanently deferred; Retrying will NOT succeed. See 
>   https://postmaster.yahooinc.com/error-codes
>    -> QUIT
>   *** Remote host closed connection unexpectedly.
> 
> Incidentally, I get 
> 
>   $ hostname -A
>   lenin-16.home
> 
> that's strange. Should be lenin.histomat.net

Your example demonstrates what example.net (and its companions,
com/org/edu) is for: example.net is a real domain, designed for use
in internet documentation.

$ ping test-server.example.net
ping: test-server.example.net: Name or service not known
$ ping www.example.net
PING www.example.net (93.184.216.34) 56(84) bytes of data.
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=1 ttl=57 time=25.5 ms
^C
--- www.example.net ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 25.477/25.477/25.477/0.000 ms
$ ping example.net
PING example.net (93.184.216.34) 56(84) bytes of data.
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=1 ttl=57 time=24.1 ms
64 bytes from 93.184.216.34 (93.184.216.34): icmp_seq=2 ttl=57 time=23.6 ms
^C
--- example.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 2ms
rtt min/avg/max/mdev = 23.573/23.857/24.142/0.323 ms
$ 

Why do all telephone numbers in the movies start 555 …

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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