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: Manuel Giraud
Subject: Re: smtpmail-send-queued-mail fails with error 504 5.5.2
Date: Mon, 22 Jan 2024 14:39:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

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



reply via email to

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