unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Manuel Giraud via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: rameiko87@posteo.net
Cc: help-gnu-emacs@gnu.org
Subject: Re: smtpmail-send-queued-mail fails with error 504 5.5.2
Date: Wed, 24 Jan 2024 17:46:53 +0100	[thread overview]
Message-ID: <87il3i7k76.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <6ac9ec028ebd233b07cc1d471493d2bb@posteo.net> (rameiko's message of "Wed, 24 Jan 2024 14:26:17 +0000")

rameiko87@posteo.net writes:

>>> 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).
>> How to fix something that we don't know about?
>
> Is there any way to check where the variable message-user-fqdn is
> being used?

Yes.  I've just used 'M-x rgrep' on Emacs lisp source.

> Also, I understand from your messages that when message-user-fqdn is
> nil then the Message-ID's are built with domain set to the value of
> the domain in user-mail-address, no matter whether this is a valid
> address or not.

Yes and it is a bit more complicated than that.  You can find the
precedence order for the chosen domain in 'message-make-fqdn' in
"message.el"

> In the preceding sentence, by domain I mean everything to the right of
> the at-sign. Is this correct?

Yes.

> When I set message-user-fqdn instead, are the Message-ID's always
> built by using the message-user-fqdn regardless of the value of
> user-mail-address?

Yes (likewise see 'message-make-fqdn').

> And then when message-user-fqdn is nil and user-mail-address is the
> default (that is user@fedora), then does Message Mode attempt sending
> to this invalid email address and shows an error, or does it modify
> the To: to some valid email address?

I guess you meant the "From:" here.  And, yes, as you can see in my
tests (and also yet again in 'message-make-fqdn'), it rewrites
"user@fedora" as "user@fedora.mail-host-address-is-not-set".
-- 
Manuel Giraud



      reply	other threads:[~2024-01-24 16:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-21 18:01 smtpmail-send-queued-mail fails with error 504 5.5.2 rameiko87
2024-01-22 13:39 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-23 16:51   ` rameiko87
2024-01-24  9:07     ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-24 10:57       ` rameiko87
2024-01-24 13:02         ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-24 14:26           ` rameiko87
2024-01-24 16:46             ` Manuel Giraud via Users list for the GNU Emacs text editor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87il3i7k76.fsf@ledu-giraud.fr \
    --to=help-gnu-emacs@gnu.org \
    --cc=manuel@ledu-giraud.fr \
    --cc=rameiko87@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).