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


Groups > linux.debian.user > #247671

Re: email lacks sender address

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.user
Subject Re: email lacks sender address
Date 2022-04-27 22:50 +0200
Message-ID <EgWLL-bCsc-7@gated-at.bofh.it> (permalink)
References (5 earlier) <EgPhf-bxUk-11@gated-at.bofh.it> <EgQ3E-byrc-19@gated-at.bofh.it> <EgQZH-bz13-1@gated-at.bofh.it> <EgRsK-bzqB-1@gated-at.bofh.it> <EgRM6-bzxu-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2022-04-27 11:29:17 -0400, Greg Wooledge wrote:
> So if your /etc/mailname contains lenin.histomat.net then mail sent by
> john on your system may(!) have a default(!) from/sender address of
> john@lenin.histomat.net.  Unless it's overridden.
> 
> If what you WANT is for your outgoing mail to appear to come from
> john@histomat.net then you should have histomat.net in that file instead.
> 
> The fact that lenin.histomat.net has no MX or A records in global DNS
> means it's completely unsuitable for being the right-hand side of an
> email address.  So, what you have now is clearly not correct.

No, this is not necessarily incorrect. If mail is sent locally,
this is fine. For mail sent to other machines, 2 things can be
done in such a case:

1. Provide a fully qualified e-mail address when sending the mail.
   This is what one usually does.

2. Configure the local mail server (here, exim) to do address
   rewriting.

(You can also do both.)

For instance, on my laptop, I use

zira:~> cat /etc/mailname
zira.vinc17.org

which is the FQDN of the machine, and it is resolvable locally only.
This is fine for local mail, e.g. sent by cron.

And with Mutt, I provide the correct e-mail address with my_hdr
(to set the "From:" header, which will be used for the envelope),
e.g. vincent@vinc17.net for this mail message.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

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