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


Groups > linux.debian.user > #247506

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 06:40 +0200
Message-ID <EfYFX-b16y-1@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>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun 24 Apr 2022 at 23:30:34 (-0400), Haines Brown wrote:
> On Sun, Apr 24, 2022 at 05:31:08PM -0500, David Wright wrote:
> 
> > It looks to me as if you have no /envelope/ sender on some messages.
> > I don't know whether that's caused by exim, say, failing to rewrite
> > an address properly, but it seems unlikely that you're going to
> > compose an email without a From: at the top. (I can't be sure: it
> > might be possible to compose without showing headers, and there's
> > also the possibility of sending emails from the command line.)
> > 
> > You can make mutt ensure that there's an envelope address by setting
> > either (or both, they interact) of envelope_from_address or
> > use_envelope_from. AIUI, exim can still select what actually gets
> > used.
> 
> I placed these two lines in ~./muttrc/muttrc
> 
>   set envelope_from_address=haines@histomat.net
>   set use_envelope_from=haines@histomat.net
> 
> but still get 521 5.5.1 Protocol error om outgoing messages.

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, looking like:

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 …

Compare these lines for a successful email, which finishes with:

… … C="250 2.0.0 Ok: NNNN bytes queued as 12AB34CD56E"
DATE TIME SAMESTRING Completed

and those for an unsuccessful one.

> what does "test-server.example.net" refer to? Sorry for my ignorance.

Read https://en.wikipedia.org/wiki/Example.com

¹ You'll need to be in the adm group, or use sudo, or be root.

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