From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: rameiko87@posteo.net Newsgroups: gmane.emacs.help Subject: smtpmail-send-queued-mail fails with error 504 5.5.2 Date: Sun, 21 Jan 2024 18:01:47 +0000 Message-ID: <84782f317f0c10702277723d9e50449b@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39663"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 22 06:33:57 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rRmwW-000A3Y-9M for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 22 Jan 2024 06:33:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRmw0-0001TK-Vy; Mon, 22 Jan 2024 00:33:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRc8q-0005lt-Vy for help-gnu-emacs@gnu.org; Sun, 21 Jan 2024 13:01:58 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRc8l-0004gx-SS for help-gnu-emacs@gnu.org; Sun, 21 Jan 2024 13:01:55 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BFBB2240103 for ; Sun, 21 Jan 2024 19:01:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705860107; bh=P7wCybF7P9RPIJJ6xzY4hYjfYn+ulbltrcRcraZdEFk=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:Message-ID:From; b=TCdC18IsW7hFRzJXWlRPUenzY/uB8auQYTGx699J5tP5ITUFOHNU7D2+jCKQg1QlL QL161ZaeNQnz6J7EuUge9R7Oak9trqy2/NzFktzi3ASXcunwMdtxLjVO4+gi5zPyQI ZbNt+4v5c9CuXk+v6XtYLq/pEescCKufWRdcJ0IFzjuvSZlBYPTWJ8TFO0PoaqPSPk 3slwa8q7LnN3bDlEwP9VQ5cEDSlOvVJ8UqO2iMmJzmVoIFwC25FsOJjWgZfKQcq90o x05XrO57/ah20oLh2OM7GTCyM0qEvJqGwGdGJcI/H/WwNQBrziLuweKzLXgl51DSxK KPwceWTyAJ6yw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TJ1Q33GtGz9rxF for ; Sun, 21 Jan 2024 19:01:47 +0100 (CET) Received-SPF: pass client-ip=185.67.36.66; envelope-from=rameiko87@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 22 Jan 2024 00:33:14 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145775 Archived-At: 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 : 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 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! By the way, smtpmail-store-queue-variables is nil. Please, help! Thanks so much.