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 [email protected] > set [email protected] > > 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.

