help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smtpmail-send-queued-mail fails with error 504 5.5.2


From: rameiko87
Subject: Re: smtpmail-send-queued-mail fails with error 504 5.5.2
Date: Wed, 24 Jan 2024 10:57:39 +0000



On 24.01.2024 10:07, Manuel Giraud wrote:

I've never touch 'message-user-fqdn' in years of doing mail into
Emacs.


But then your Message-Id is not RFC compliant? This is the reason why
I set it.

I've just checked and my "Message-Id"s look like
<something>@ledu-giraud.fr.  So they seem to be correct and, as I said,
I've never fiddled with 'message-user-fqdn'.

The default address in the From: field is
usernameofmymachine@message-user-fqdn. This is already strange because
it should use 'user-mail-address' since message-user-fqdn is
explicitly reserved for Message-Id as the description of this variable
says. I guess this is the first question we need to answer.

Yes it shouldn't be "usernameofmymachine@message-user-fqdn".  It should
be the value of 'user-mail-address'. Could you try starting from "emacs
-Q", set 'user-mail-address' to what you want and 'M-x message-mail'?

I tried starting emacs as you suggested, and I can say that it shows no strange behaviour. Therefore there must be the following bug:

when user-mail-address is not set and therefore defaults to user@hostmachine (in my case user@fedora), as the description of the variable user-mail-address explicitly spells out, then the default email address qhen composing a new message somehow ignores this and uses user@message-user-fqdn (first thing to fix), which should instead only be reserved for message-id's (as the description of this variable says. Does it happen somewhere else too? this is the second thing to fix).

The second question is why the From header is ignored (from the
message as saved in 'queued email folder') when sending with
smtpmail-send-queued-mail. This is really worrisome!

This looks like another bug.


Yes, this is something else but I imagine that
'smtpmail-send-queued-mail' respect 'user-mail-address'.

so first of all, it probably does, in the sense that in my case it uses user@fedora, so message-user-fqdn does not intervene (silver lining). But it should use what I decided to set as header, not rewrite the headers without warning!


 By the way because you ask, the reason why I change the From header
 is that I use a variety of different email addresses for the
 different affiliations which I have.

I do this too and it is just a matter of changing 'user-mail-address'
and 'smtpmail-smtp-server'.

No, I don't want to change the variable every time!! I want to keep that variable for the default address, and change the headers as I need. And anyway, why this discrepancy between queued-sending and immediate sending? This I consider another bug, because not doing things consistently confuses the user (even not doing the *wrong* thing consistently confuses the user) smtpmail-smtp-server can stay always the same because mine allows spoofing.

I think I will file a few bug reports today



reply via email to

[Prev in Thread] Current Thread [Next in Thread]