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: Re: smtpmail-send-queued-mail fails with error 504 5.5.2 Date: Wed, 24 Jan 2024 10:57:39 +0000 Message-ID: <0808c961e67ac0a8e0295f7cf123755f@posteo.net> References: <84782f317f0c10702277723d9e50449b@posteo.net> <87bk9dmqr0.fsf@ledu-giraud.fr> <3aea55e22ae89089d27ced95236956e3@posteo.net> <87y1cfrtf9.fsf@ledu-giraud.fr> 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="39465"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Manuel Giraud Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 24 11:58:19 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 1rSaxW-000A0a-9m for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Jan 2024 11:58:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSax4-0006fD-H1; Wed, 24 Jan 2024 05:57:50 -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 1rSax3-0006eK-5h for help-gnu-emacs@gnu.org; Wed, 24 Jan 2024 05:57:49 -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 1rSawx-0002uw-NG for help-gnu-emacs@gnu.org; Wed, 24 Jan 2024 05:57:48 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 57387240103 for ; Wed, 24 Jan 2024 11:57:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706093860; bh=zhTAuFiI1LBrKGufNLmxyC5yEa1KoeZb2k/5y1iucgs=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Cc:Subject:Message-ID:From; b=ij+8vzb2/eRTjjWHb1c3MFll2/DwGD8BoQKdBofJ2Ljghpl4YfXigHKBdOJX5Q0bj ejXNmeNZ5KMZgcFUCeBL14Diwt9116KcKrDYY1MRaeuXFtZmB8GqS734jutQr3BlDE 8lHqlNfYHLHHreNNn25MRzZH60sTTIsalTYr0pKWtOxgs9DINXKEcnd/Ep66QTU2oq Fp/sbt/0lP0V3LYtnzNgl865EVZugWgccHCGuVnVxogSJ/7f7ZEHJAdPTPlpO7VnP3 xc5/1z+gC7hU3oeyqSEArxmF0twJTlqZLAsWtcwKFryblH8d5MdZHiV4d0Cc07ltDo dgp9lk2C2GAPg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TKgsH4N42z6tmv; Wed, 24 Jan 2024 11:57:39 +0100 (CET) In-Reply-To: <87y1cfrtf9.fsf@ledu-giraud.fr> Received-SPF: pass client-ip=185.67.36.66; envelope-from=rameiko87@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.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=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-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:145794 Archived-At: 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 > @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