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 14:02:24 +0100 Message-ID: <87mssu995r.fsf@ledu-giraud.fr> References: <84782f317f0c10702277723d9e50449b@posteo.net> <87bk9dmqr0.fsf@ledu-giraud.fr> <3aea55e22ae89089d27ced95236956e3@posteo.net> <87y1cfrtf9.fsf@ledu-giraud.fr> <0808c961e67ac0a8e0295f7cf123755f@posteo.net> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18171"; 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 14:04:18 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 1rScvP-0004QY-9S for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 24 Jan 2024 14:04:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rScur-0006sx-E2; Wed, 24 Jan 2024 08:03:45 -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 1rSctk-0006fg-JY for help-gnu-emacs@gnu.org; Wed, 24 Jan 2024 08:02:37 -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 1rScti-0002b7-5i for help-gnu-emacs@gnu.org; Wed, 24 Jan 2024 08:02:32 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=YEP1iuE7 Z5XphcEgY9bsry0uVli+q5VL5HsYFfsE41A=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=OwpBBGgw1P33vmxSC6sYfpaMOEQ2Af avCZizwQo+0Mnj4X5JULeLSqlNUKQFp2W9jCFCrPMmz0QLQb0GjH1GBQ== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=YEP1iuE7Z5XphcEg Y9bsry0uVli+q5VL5HsYFfsE41A=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=CJPDwKOgyhKubtDUUlh/QWpLbqM6jRZuBqrAU5 Cnk54eQ85AZ4udmU8rtXIlJwSmmkLid7YQtkSVfvBLEwzYA/dgQBxTbZG6Xbzq10cUFyg1 uGST+63HGr2+KW58099hnMag9ejAAzJgTUKOmsRG7RYOSvn2pBE0BOG8ljQdHjZvCEN76d 95qggwaKB7SJEmK+TYAGRhm9bhZ0KS3TWZDO1YHcux6+fT4s9Ji2+QFA671/B7p4f1BV4e V0oVCFf1XFNcABZx2YhMOW3aX6fBDXz+4WvO3UsqRoM30DKHAy+u3OiyAfmpR+9cy09qTn 6r2h384UnZ3ai3o3N0RtMtZQ== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 63e92051 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 24 Jan 2024 14:02:25 +0100 (CET) In-Reply-To: <0808c961e67ac0a8e0295f7cf123755f@posteo.net> (rameiko's message of "Wed, 24 Jan 2024 10:57:39 +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:145795 Archived-At: rameiko87@posteo.net writes: [...] > 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), Ok, so I've done the following: - emacs -Q - M-: (setq message-user-fqdn "elsewhere") - M-x message-mail The "From:" is set to "user@elsewhere" as you, too, observed, right? This is what you considered to be a bug. I don't know if it is one but you're right that this is not documented in 'message-user-fqdn' nor 'user-mail-address'. > 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? >>> 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! Yes, probably. I'm not queuing mail so I should try it first. >>> 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!! It could be just a command away ;-) but=E2=80=A6 > I want to keep that variable for the default address, and change the > headers as I need. =E2=80=A6fair enough too. > 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) Yes, this is your second bug then. I'll also try to test with queuing message. > smtpmail-smtp-server can stay always the same because mine allows > spoofing. Ok. > I think I will file a few bug reports today Yes, please do so! --=20 Manuel Giraud