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: Mon, 22 Jan 2024 14:39:31 +0100 [thread overview]
Message-ID: <87bk9dmqr0.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <84782f317f0c10702277723d9e50449b@posteo.net> (rameiko's message of "Sun, 21 Jan 2024 18:01:47 +0000")
rameiko87@posteo.net writes:
> Hello,
>
> Could you please kindly help me with this? When I have
> smtpmail-queue-mail set to nil, sending emails works beautifully. I
> then change smtpmail-queue-mail to t: then the text of the email is
> saved in my queued email folder together with another file specifying
> the value of smtpmail-recipient-address-list (it contains the same
> address as in the To: header of my message). When I invoke
> smtpmail-send-queued-mail I get the following error:
>
> Sending failed: 504 5.5.2 <usernameofmymachine@fedora>: Sender address
> rejected: need fully-qualified address
>
> The strange thing is that usernameofmymachine@fedora would be the
> default address to appear in the From: header of C-x m, but
> 1. I set the variable message-user-fqdn (and it's different from
> "fedora"), so actually when I press C-x m I have
> usernameofmymachine@message-user-fqdn which is already different from
> usernameofmymachine@fedora
Hi,
I've never touch 'message-user-fqdn' in years of doing mail into Emacs.
> 2. Before sending (that is to say, queuing), I do change the From: to
> my email address, and it appears correctly on the text file saved in
> the queued folder!
Hum, what is your value of 'user-mail-address'? When it is set
correctly, you shouldn't have to manually edit your from header.
--
Manuel Giraud
next prev parent reply other threads:[~2024-01-22 13:39 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 [this message]
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
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=87bk9dmqr0.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).