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 10:07:22 +0100 Message-ID: <87y1cfrtf9.fsf@ledu-giraud.fr> References: <84782f317f0c10702277723d9e50449b@posteo.net> <87bk9dmqr0.fsf@ledu-giraud.fr> <3aea55e22ae89089d27ced95236956e3@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="31276"; 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 10:08:11 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 1rSZEx-0007wG-M1 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Jan 2024 10:08:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSZEM-0001HB-1U; Wed, 24 Jan 2024 04:07:34 -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 1rSZEK-0001FT-1M for help-gnu-emacs@gnu.org; Wed, 24 Jan 2024 04:07:32 -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 1rSZEH-0008DN-Tc for help-gnu-emacs@gnu.org; Wed, 24 Jan 2024 04:07:31 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=6oZci3v6 kQKKNmRMUoGF511rTj2OjVix6gvA8B2CLKU=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=Q5aEeRwJMnWdDwnzquAeAz7gagniHg q45M8PHjcVkbAeYek+KeYOyVgkFQVCPRE++J06IXZBUvCrVM/XgMHwCg== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=6oZci3v6kQKKNmRM UoGF511rTj2OjVix6gvA8B2CLKU=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=mvByMU3dQx2aln+wpiUNIrN+HYMELbRK5xAQm8 P0g+APXLpnjtZ6cZ4yyJu9qOh/XJoJO7gxGXqJPzJshIsrARzKXHOO/cqyrpACUcUud0+e OnAJzHhJ/O5GwsUy1+h+oORlcWREpCMh0lVLug1yedlBWSt0YfIKHeSIfhcCclYn6YQav0 qDlYtDZJS9izNnXzCyH7AtUZ7rvc+NKnIwk4XtwZdnQtMHDauiS/4/5wDvF98PgxWjyI7F oteXL5T2LYEtZPwO4yzI1QUpO55D31VfsMi/MrnlvqZiFl9iqmHZFTX5tJYOsDvM2sPc5b bhkd8p4mmIHsbvDvd7D2XjtA== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 169cb173 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 24 Jan 2024 10:07:23 +0100 (CET) In-Reply-To: <3aea55e22ae89089d27ced95236956e3@posteo.net> (rameiko's message of "Tue, 23 Jan 2024 16:51:59 +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:145793 Archived-At: rameiko87@posteo.net writes: >> 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'? > 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! Yes, this is something else but I imagine that 'smtpmail-send-queued-mail' respect 'user-mail-address'. > 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'. -- Manuel Giraud