From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: smtpmail-send-queued-mail fails with error 504 5.5.2 Date: Wed, 24 Jan 2024 17:46:53 +0100 Message-ID: <87il3i7k76.fsf@ledu-giraud.fr> References: <84782f317f0c10702277723d9e50449b@posteo.net> <87bk9dmqr0.fsf@ledu-giraud.fr> <3aea55e22ae89089d27ced95236956e3@posteo.net> <87y1cfrtf9.fsf@ledu-giraud.fr> <0808c961e67ac0a8e0295f7cf123755f@posteo.net> <87mssu995r.fsf@ledu-giraud.fr> <6ac9ec028ebd233b07cc1d471493d2bb@posteo.net> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35030"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: rameiko87@posteo.net Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 24 17:47:46 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 1rSgPi-0008xf-3U for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Jan 2024 17:47:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSgP9-0004X2-Nx; Wed, 24 Jan 2024 11:47:11 -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 1rSgOw-0004WP-Ez for help-gnu-emacs@gnu.org; Wed, 24 Jan 2024 11:46:58 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rSgOu-0005Tm-IB for help-gnu-emacs@gnu.org; Wed, 24 Jan 2024 11:46:58 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=zspzYJBM akmyClTy159qkwFad9dMpRsM9imKx8cRFq8=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=YyQ7TQNAoZjYVRoqYvtpEmoiQ/s24X lQnfEidPHPcs9Wyzg43egV+maHe7DUmNvfR6YBE7L8im+n7PBlzOtBBw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=zspzYJBMakmyClTy 159qkwFad9dMpRsM9imKx8cRFq8=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=i2DjkzrLSF5L41Bg+DZz4811CWudzbK60p+BIN o+vPiUOrp2T632QbN9QV84NV2w4Eevmiz1mS3SskpxJ4f+qDmk8sI1jBgizXnTPBUXtptc gvEn9TlzvkqMTq+TxMnMR7xRbTcci9keTRaqlVeT44Uc5Qhy0ja+r8Uit3KqmTJN6S1PBT qT0Ao1XkJClpAYwn+3lYX3wYE9W3UNUjBsHJBuoDHCRwL6pD82X5ChIppA3gdHT7XTNVR9 Wj4WJPWso0tJ/Wa8wdzY4Ch4I8McOaS0ECp2YTQLtHaECC1WLJpJGkkNJQMXWjc2X01F40 6Qx8ip9WnhgCYXtPgUfrCHrw== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id d35da226 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 24 Jan 2024 17:46:54 +0100 (CET) In-Reply-To: <6ac9ec028ebd233b07cc1d471493d2bb@posteo.net> (rameiko's message of "Wed, 24 Jan 2024 14:26:17 +0000") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-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:145798 Archived-At: 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