From unknown Mon Jun 23 18:29:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#57373 <57373@debbugs.gnu.org> To: bug#57373 <57373@debbugs.gnu.org> Subject: Status: 28.1; authinfo keyword smtp-auth does not work Reply-To: bug#57373 <57373@debbugs.gnu.org> Date: Tue, 24 Jun 2025 01:29:31 +0000 retitle 57373 28.1; authinfo keyword smtp-auth does not work reassign 57373 emacs submitter 57373 John Kehayias severity 57373 normal tag 57373 fixed moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 23 18:01:35 2022 Received: (at submit) by debbugs.gnu.org; 23 Aug 2022 22:01:35 +0000 Received: from localhost ([127.0.0.1]:45204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQbxm-0003jX-SF for submit@debbugs.gnu.org; Tue, 23 Aug 2022 18:01:35 -0400 Received: from lists.gnu.org ([209.51.188.17]:56440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQbxk-0003jQ-Ml for submit@debbugs.gnu.org; Tue, 23 Aug 2022 18:01:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQbxh-0007Pz-8X for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 18:01:31 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:39925) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQbxe-0000ux-CQ for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 18:01:28 -0400 Date: Tue, 23 Aug 2022 22:01:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1661292080; x=1661551280; bh=IMfD3Rr27cdoFmxeEuyKfsiac7gobMdPVi7cs2I64QE=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=hYNdmQfyUFojlxyu1stWzF8BiaRGmeaI23C2yTEwPxcJCFeh/AsCPSl5mVOsf/2tH 8LQ9cSdZkN09DpUDT3SUCjsUYgw1MzdKQ1vTz4sDx1xBuCJjUFQd9H4Q3vrzIurZ3w L6XvrO6p3DspXdIV/8H9ky0YBp4XL/9m10NrpvsscPCig6FmqFjQBp4w8DxVrIraMd w2oXP5XvjqpcqglIrkgFJQhv4gzrCq9fCjrlDwrfSVGgign28GhhBwUTh422mCy7MQ CnrUFnE8A+kB1K1x13myQvRTkLdb5wGwwnxPvdapfchPlZHZDDxoCcU+6I+n/F6zUx L2puRN7Juml0g== To: bug-gnu-emacs@gnu.org From: John Kehayias Subject: 28.1; authinfo keyword smtp-auth does not work Message-ID: <87wnay8vs3.fsf@protonmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=john.kehayias@protonmail.com; helo=mail-4316.protonmail.ch 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, 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-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: John Kehayias Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello, I have been trying to use a specific auth method for different smtp servers= , which should be supported by specifying the "smpt-auth" keyword in .authi= nfo. However, this does not work, for any value put there (whether quoted, = unquoted, etc.), Emacs always saying e.g. "Mechanism plain not implemented"= when authinfo for the server contains "smtp-auth plain". I believe the problem is that in smtpmail-try-auth-methods the smtp-auth ke= yword is read in by auth-source-search as a string, while the call to smtpm= ail-try-auth-method that uses it all match with eql, eg. as (eql 'plain). I have tried different ways to get the smtp-auth value read differently in = my authinfo, to no avail. Looking back at the devel mailing list, there was= some confusion that this feature needed plstore, but in the end did not: <= https://lists.gnu.org/archive/html/emacs-devel/2020-09/msg00002.html> I ca= n confirm that reading the authinfo does provide the smtp-auth keyword, it = just won't match any method to call. Perhaps there is a different format for specifying smtp-auth that I didn't = find? Below is the build information for my current Emacs. Thanks! John In GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cair= o version 1.17.6) of 2022-04-27 built on frederik Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Arch Linux Configured using: 'configure --with-x-toolkit=3Dgtk3 --with-native-compilation --sysconfdir= =3D/etc --prefix=3D/usr --libexecdir=3D/usr/lib --localstatedir=3D/var --with-cair= o --with-harfbuzz --with-libsystemd --with-modules 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneri= c -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3D2 -Wformat -Werror=3Dformat-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=3D/build/emacs/src=3D/usr/src/debug -flto=3Dauto' 'LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=3Dauto'= ' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSO= N LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG = RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Memory information: ((conses 16 1068719 151325) (symbols 48 57665 0) (strings 32 248488 6921) (string-bytes 1 8756410) (vectors 16 122100) (vector-slots 8 2564346 97616) (floats 8 1553 949) (intervals 56 22635 2271) (buffers 992 40)) From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 24 05:30:37 2022 Received: (at 57373) by debbugs.gnu.org; 24 Aug 2022 09:30:37 +0000 Received: from localhost ([127.0.0.1]:45661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQmib-0004uz-70 for submit@debbugs.gnu.org; Wed, 24 Aug 2022 05:30:37 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:38761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQmiY-0004uk-Pm for 57373@debbugs.gnu.org; Wed, 24 Aug 2022 05:30:35 -0400 Received: by mail-wr1-f46.google.com with SMTP id b5so15732207wrr.5 for <57373@debbugs.gnu.org>; Wed, 24 Aug 2022 02:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=L3GYsjHsn4SzedqTvXMdIw0RKbb82YA8uShj6dIMdZ0=; b=IbnqjEJO3Dr3OxhUqesdgJAP94HQBj221egVYmfIvmMqnmFRXHHY0ecFU3QbF6IPy6 23Ie7zD+BqnaqRb1gSApdsBsPlsD0iDBe7XmCD/ZlBQGLnloE+jdbKPk0usBx3BDQiin rKnZQm/JV5T+dV2Om0nBttqWwkhslavS8vfRCPLF4VPwpgMnGvr9v3t0Ev3dDpbFJDfm 6eX1Aku8Peo8f/kIfy2wW44yXBvE/faqv27y1Xp3z14aFk6NonDaoulesBOW9Nm7Plf8 JoJFNz9NoqhkiGr13o3IF1rTPWkmIIY8VYx5y0nWOnlCaXSN4frKXiKqL9eTVkZidZfu nQLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=L3GYsjHsn4SzedqTvXMdIw0RKbb82YA8uShj6dIMdZ0=; b=1iPApW3p9Yv2uGd10ZynRBaNSVONvPcG4g2ZZ5mL+6LlQiMrTIGtWn+vb+CtKgTP1O mYqCq1e1TY6qZ2wXep2jXX7kq/hzXDRVD0XRNusNIizKVcTyYPGU7sAbItPuzXpe2V5v 60N85JLPzxeR7M6GjrfQ3UE0JhyIfSLQO880tQSfuNYhuk43XDETaRmiJ3zHGG3SzKkU kkjPw5WudZz9KMn/ejm/HaajkcmI1OfdOqYdfZQ2MFUoRoxiZCHeHiCGEG4QI53Nq0+J 9J8Db5eq83WlZ/+kkHACAVU+fQRSkxe8oBp4l8++S6pI930AOO071koYDWHTkP6NValv /w5w== X-Gm-Message-State: ACgBeo0HcIFByP0QPBep0trxtRGlgwtzzCQXcvADGL/dxwKj3LlPMimi k8VBJK+zTHOYpYZXbIFdvjg= X-Google-Smtp-Source: AA6agR4FsfBaRc6Hk2hALRzvl/LdrW8IgaMLVQMZWGOjwI7268QWA9fop8XrCMBrD1eP+etbJB1Tvg== X-Received: by 2002:a5d:67c6:0:b0:225:2a3e:6384 with SMTP id n6-20020a5d67c6000000b002252a3e6384mr15296349wrw.23.1661333428712; Wed, 24 Aug 2022 02:30:28 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:5c0f:9579:1eb8:85f9]) by smtp.gmail.com with ESMTPSA id j11-20020a5d452b000000b002255aa7fef9sm7807686wra.106.2022.08.24.02.30.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Aug 2022 02:30:28 -0700 (PDT) From: Robert Pluim To: 57373@debbugs.gnu.org Subject: Re: bug#57373: 28.1; authinfo keyword smtp-auth does not work In-Reply-To: <87wnay8vs3.fsf@protonmail.com> (John Kehayias via's message of "Tue, 23 Aug 2022 22:01:10 +0000") References: <87wnay8vs3.fsf@protonmail.com> Date: Wed, 24 Aug 2022 11:30:27 +0200 Message-ID: <87y1veyong.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57373 Cc: John Kehayias X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Tue, 23 Aug 2022 22:01:10 +0000, John Kehayias via "Bug reports for GNU Emacs, the Swiss army knife of text editors" said: John> I believe the problem is that in smtpmail-try-auth-methods John> the smtp-auth keyword is read in by auth-source-search as a John> string, while the call to smtpmail-try-auth-method that uses John> it all match with eql, eg. as (eql 'plain). Yep. John> I have tried different ways to get the smtp-auth value read John> differently in my authinfo, to no avail. Looking back at the John> devel mailing list, there was some confusion that this John> feature needed plstore, but in the end did not: John> John> I can confirm that reading the authinfo does provide the John> smtp-auth keyword, it just won't match any method to call. John> Perhaps there is a different format for specifying smtp-auth that I didn't find? auth-source search always returns a plist containg strings as the key values. Does the following work for you diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index c2f8f27377..8573532eac 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el @@ -577,7 +577,7 @@ smtpmail-try-auth-methods (stringp result)) (setq result (catch 'done (smtpmail-try-auth-method - process (pop mechs) user password)))) + process (intern-soft (pop mechs)) user password)))) ;; A string result is an error. (if (stringp result) (progn Robert -- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 24 07:46:01 2022 Received: (at control) by debbugs.gnu.org; 24 Aug 2022 11:46:01 +0000 Received: from localhost ([127.0.0.1]:45830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQopc-0004Q2-P2 for submit@debbugs.gnu.org; Wed, 24 Aug 2022 07:46:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQopa-0004Pd-Mh for control@debbugs.gnu.org; Wed, 24 Aug 2022 07:45:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/sW4SHu2ktapaeXoRCa+lzBtqcW/F36vnbqnFFDH478=; b=NS7KNhw3HLC7IKJRXRzA1XnUJP FDvK+sqPgKxQGtqruuUQ85+65YQuhH0lgPp01Rv3xMQjJo4Fgfz/ufHEII2ZmuOxuqdt0BEFV2Ask zUXiWXa/YdOynNuzYBNbz459nLw38/TiVhNIwApaMqO38hFH6GnnFnphr9oNNy6HDXWo=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQopS-0004ye-Po for control@debbugs.gnu.org; Wed, 24 Aug 2022 13:45:52 +0200 Date: Wed, 24 Aug 2022 13:45:50 +0200 Message-Id: <874jy1ooep.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #57373 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 57373 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 57373 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 24 07:46:24 2022 Received: (at 57373) by debbugs.gnu.org; 24 Aug 2022 11:46:24 +0000 Received: from localhost ([127.0.0.1]:45839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQoq0-0004Rm-Jy for submit@debbugs.gnu.org; Wed, 24 Aug 2022 07:46:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQopz-0004RU-EX for 57373@debbugs.gnu.org; Wed, 24 Aug 2022 07:46:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MPGIjyrmg6ZKgbngKzH4OVxZ6XOCocu13Zx3F32VkGc=; b=Q1PBJP0EpgdGE7VUXzdu+IHP6c JOQ2edPR8K6XzPFP+QnDiDniFWkTZmKApZfixZo+8t5HLM+tfwtIVpepbcScFtfuTLWRSJYkMaG7A wQC38uJtDhwczDwhk1QVSee4ayYs7W1bW4XnX1YtXy3M3WrTjpCFJ+WiZCDx6JUnRgKk=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQopr-00051C-FN; Wed, 24 Aug 2022 13:46:17 +0200 From: Lars Ingebrigtsen To: Robert Pluim Subject: Re: bug#57373: 28.1; authinfo keyword smtp-auth does not work In-Reply-To: <87y1veyong.fsf@gmail.com> (Robert Pluim's message of "Wed, 24 Aug 2022 11:30:27 +0200") References: <87wnay8vs3.fsf@protonmail.com> <87y1veyong.fsf@gmail.com> X-Now-Playing: Loma's _Don't Shy Away_: "Homing" Date: Wed, 24 Aug 2022 13:46:15 +0200 Message-ID: <87zgftn9tk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim writes: > + process (intern-soft (pop mechs)) user password)))) Is there any reason to not just use `intern' here? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57373 Cc: John Kehayias , 57373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Robert Pluim writes: > + process (intern-soft (pop mechs)) user password)))) Is there any reason to not just use `intern' here? From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 24 11:21:01 2022 Received: (at 57373) by debbugs.gnu.org; 24 Aug 2022 15:21:01 +0000 Received: from localhost ([127.0.0.1]:47682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQsBh-00007c-2q for submit@debbugs.gnu.org; Wed, 24 Aug 2022 11:21:01 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:45377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQsBf-00007Q-A3 for 57373@debbugs.gnu.org; Wed, 24 Aug 2022 11:21:00 -0400 Date: Wed, 24 Aug 2022 15:20:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1661354453; x=1661613653; bh=fK8iZmjeYfoUUBFm72CZrvXDmmlcsEswHnR8gWkgjIk=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=CKAvKKEKz6QPS3aQcApXYUazlpZ6+mHUuQkTUItTlXk0N82EvuNIXWZ7Ic0U220MM hRfpoeBpSoCk5lwPYVsOJmwKnXJKRfWZTmGE76/QjHEa0V7hG3i4ONB5wTl1w5O5ge ZIi4jC8COJSGTXj+EXMtbYvg1G7YoJYtNTpBIlIs/6FoKGZvChSBpmw62zmzZOEKGV P2EFRCNgKZhO+d3INTN5ELxXVZpb4Ulls22UfGxPgkoh+PCD9l3FRaFEZiydn2zjRB OiiSAl9F7CzhZLgMlI7kYJgncPY76+f+cZURn+bwaMQ3PJrZ7ITe1p6Q6/nWSeswEP 2KTG64jqpDipw== To: Robert Pluim From: John Kehayias Subject: Re: bug#57373: 28.1; authinfo keyword smtp-auth does not work Message-ID: <87v8qhzn08.fsf@protonmail.com> In-Reply-To: <87y1veyong.fsf@gmail.com> References: <87wnay8vs3.fsf@protonmail.com> <87y1veyong.fsf@gmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57373 Cc: 57373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: John Kehayias Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Robert, Thanks for such a quick response and fix! Let me just add my use case being= that some SMTP servers I use have different authentication methods, but wi= ll try and fail with the others. I could work around this by modifying the = ordering in smtpmail-auth-supported, at least for my current sent of server= s. Anyway, was happy to see this feature for exactly this reason. On Wed, Aug 24, 2022 at 11:30 AM, Robert Pluim wrote: >>>>>> On Tue, 23 Aug 2022 22:01:10 +0000, John Kehayias via "Bug reports f= or GNU Emacs, > the Swiss army knife of text editors" said: > > John> I believe the problem is that in smtpmail-try-auth-methods > John> the smtp-auth keyword is read in by auth-source-search as a > John> string, while the call to smtpmail-try-auth-method that uses > John> it all match with eql, eg. as (eql 'plain). > > Yep. > > John> I have tried different ways to get the smtp-auth value read > John> differently in my authinfo, to no avail. Looking back at the > John> devel mailing list, there was some confusion that this > John> feature needed plstore, but in the end did not: > John> > John> I can confirm that reading the authinfo does provide the > John> smtp-auth keyword, it just won't match any method to call. > > John> Perhaps there is a different format for specifying smtp-auth th= at I didn't find? > > auth-source search always returns a plist containg strings as the key > values. Does the following work for you Understood, just wanted to be sure I wasn't missing something obvious. > > diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el > index c2f8f27377..8573532eac 100644 > --- a/lisp/mail/smtpmail.el > +++ b/lisp/mail/smtpmail.el > @@ -577,7 +577,7 @@ smtpmail-try-auth-methods > (stringp result)) > (setq result (catch 'done > =09=09 (smtpmail-try-auth-method > - process (pop mechs) user password)))) > + process (intern-soft (pop mechs)) user passwor= d)))) > ;; A string result is an error. > (if (stringp result) > (progn > Yes that works for me! Note that I am not on Emacs 29, nor my Guix machine = where I could easily rebuild with a patch, so I just did a local redefiniti= on of smtpmail-try-auth-methods with (intern-soft mech) in the call to smtp= mail-try-auth-method. So I didn't backport the full changes to that functio= n I see. I can certainly try that later, but wanted to a quick check. I was= able to send mail with smtp-auth specified in my authinfo. Thanks! John From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 03:59:55 2022 Received: (at 57373) by debbugs.gnu.org; 25 Aug 2022 07:59:55 +0000 Received: from localhost ([127.0.0.1]:48811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oR7mM-000169-TE for submit@debbugs.gnu.org; Thu, 25 Aug 2022 03:59:55 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:33574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oR7mK-00015w-Rw for 57373@debbugs.gnu.org; Thu, 25 Aug 2022 03:59:54 -0400 Received: by mail-wr1-f48.google.com with SMTP id k9so23549466wri.0 for <57373@debbugs.gnu.org>; Thu, 25 Aug 2022 00:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=MbgvAU2r+zWkNrae9Qxa03GchP5EU8AXkckHGBR0hSs=; b=EWyGGH5wkJcMeawEPZDg8A3oIiJF3dRpdchd+Q2+HwCVo0icOjniEo1V8qQdg/Ltvs sAdWQehauQyR6orF+L0ZDn8yk5tyGFtiumVf6xjgqNd9cjqnwFTRykV2anlEda+UsxKf sBU2Zutq5FAwz4FS8G/t0QfsYpmWQzRJePdPq9XsGPe/PhoFNCeJ/ecupthfvErKzidm VR+Kt7h1M8ckoTNF1oc6w2h/Nh+XyRFqKgvvhoTOhiBGF4W/ZZJuvjKqPESh2+sOTEOE Gv+5YtDOh07XJ+CZwtAd4D0d6UQMDyWv6hsInxona/pueM7tQQxv4Y1aoxX1RfBf0zvf 141A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=MbgvAU2r+zWkNrae9Qxa03GchP5EU8AXkckHGBR0hSs=; b=ca4l+t7F0LerSWaty5DnHQXWaHiifXfhbiiqHpiKWBf14nsXdl1KyS/AqNFeS4OVMv 0WBygjyLq7rS7+Nfg+ybWxKxdiop5wzxvK02OxzJj8gUSrjGprRGPHA3C/AkbOLu3Nyu fWSYCl+jQXcqRLgMCevEOXi5bKo0UTXJ/WDITB1JUy8Tk2KGaIVBHdJUqWPyZ8MbJ2KA dcSAkU+ps+6Uh00A5VDLOd0eqQBrMBAH0wyWrZxtt1mbecBaUghpDoHlgjsduQd0cF74 VU9bbuI8pv1zC9v9Gn1OyydaSV/1JIIDXSBmMUUDV8mJGBoIhDahmTftg+T63Hl6fl2A ydLw== X-Gm-Message-State: ACgBeo1VguZfZaKK3r/fumgpoCFd7zVSp9AC/Lff6OGsqrayAgdKLEzH E2EY4Ac8BQctx3HBL4JIGQ4= X-Google-Smtp-Source: AA6agR6i+fSXIhDoI8Qt9177QCmyf6Kx9qBUcl55ykJLf4hNEojbF8ydHK6YfsHQKo013AXbiLDKrg== X-Received: by 2002:a05:6000:1d84:b0:224:f447:b1a7 with SMTP id bk4-20020a0560001d8400b00224f447b1a7mr1364415wrb.688.1661414386810; Thu, 25 Aug 2022 00:59:46 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:a788:ce81:2b1b:38a8]) by smtp.gmail.com with ESMTPSA id l25-20020a05600c1d1900b003a62052053csm5450662wms.18.2022.08.25.00.59.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 00:59:45 -0700 (PDT) From: Robert Pluim To: Lars Ingebrigtsen Subject: Re: bug#57373: 28.1; authinfo keyword smtp-auth does not work In-Reply-To: <87zgftn9tk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 24 Aug 2022 13:46:15 +0200") References: <87wnay8vs3.fsf@protonmail.com> <87y1veyong.fsf@gmail.com> <87zgftn9tk.fsf@gnus.org> Date: Thu, 25 Aug 2022 09:59:45 +0200 Message-ID: <87tu60zrbi.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57373 Cc: John Kehayias , 57373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Wed, 24 Aug 2022 13:46:15 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >> + process (intern-soft (pop mechs)) user password)))) Lars> Is there any reason to not just use `intern' here? `mechs' can be either the intersection of `smtpmail-auth-supported' and `supported-extensions' or the result from `auth-info'. In the latter case it contains strings, in the former symbols, and `intern' only accepts symbols. Robert -- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 05:47:20 2022 Received: (at 57373) by debbugs.gnu.org; 25 Aug 2022 09:47:21 +0000 Received: from localhost ([127.0.0.1]:49008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oR9SK-00066A-Lj for submit@debbugs.gnu.org; Thu, 25 Aug 2022 05:47:20 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:35626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oR9SH-00065w-7J for 57373@debbugs.gnu.org; Thu, 25 Aug 2022 05:47:19 -0400 Received: by mail-wm1-f43.google.com with SMTP id m17-20020a7bce11000000b003a5bedec07bso2368833wmc.0 for <57373@debbugs.gnu.org>; Thu, 25 Aug 2022 02:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc; bh=FmkqlV0nBIaHcK2Dkih141O/z4AJpWOOzFZrSgpEUQk=; b=Ewyi8hvnPdXabNWU8HAVQuEexcP1QGTyUZPX0j8aV6hfE87IYKfozsK5Xo6E0Z6iQL rQOFDW/ZvkQaVQ/j9lIs8sltRhkHe+IB3u3UW0D9DoJatkTxJu73R8K4wAPlXBzbLpL9 ctBADgxwA6vL4qhUf+FC7nq2Tsq9j+QR7WJJGVoPMJHIf106132xwt8X5l1qzMjC02/m m5pnalZHESa35P4Rg1V07p8hjnvwo/HOmi/Y5M3qdp0BS3SIYlwwA0PMc+MSrLJdB8kd G2xybNiTmfmZaq0hx8sdCjtpSz8/5tGCzbJKRVJb+jhIKGw4gD2oYDGn3EYen8B09kT/ TXyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=FmkqlV0nBIaHcK2Dkih141O/z4AJpWOOzFZrSgpEUQk=; b=rQ7KkX6Qlx0n/DcpIo9szulGqIqUlyEmuX1oAuWr4h57mbrguBlAsKtoAeqKxpNQ2P 1fbTVhD6rOVofk0WQ3Xg0ezQQIxbmlfwCNyjekhclQEZFVIP6hPcxm921sWygDjWLLCF hNjlPSG/B9awNHEZlRJHL3rkBrtgTr24v+Mg1W0+c48K9HhQUTI4lsKpBurd7UJ8198A 42oGORHf3NAQt4ExHRpct2lq+okIb+JIM7m+9pd3doPvKrX8cU6Q95MB+gWR5YS8HI5H SvuUBK/k3Ym7BvhX13A1N0tVOp0scWH8J2Qt/RM9emu4nSDs2BdI7P+pUB9fVzvLicbq N67A== X-Gm-Message-State: ACgBeo3LNJaHW4UShwUatYU9Eqn/lyFELpmmI5Q4t9QAg7K7b56XYoh4 maUpElX3UQtLVJj/BiGZ9sk= X-Google-Smtp-Source: AA6agR4v2wJsiAT07BH4lsPni845/6AuD1b4QHQFSikUWw5TvS99CmbcjqRiRfeNagCWe7A3w5+isA== X-Received: by 2002:a05:600c:6009:b0:3a5:b069:5d34 with SMTP id az9-20020a05600c600900b003a5b0695d34mr1726389wmb.115.1661420831354; Thu, 25 Aug 2022 02:47:11 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:a788:ce81:2b1b:38a8]) by smtp.gmail.com with ESMTPSA id v2-20020a5d6b02000000b0021e30e9e44asm18800957wrw.53.2022.08.25.02.47.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 02:47:10 -0700 (PDT) From: Robert Pluim To: John Kehayias Subject: Re: bug#57373: 28.1; authinfo keyword smtp-auth does not work In-Reply-To: <87v8qhzn08.fsf@protonmail.com> (John Kehayias via's message of "Wed, 24 Aug 2022 15:20:48 +0000") References: <87wnay8vs3.fsf@protonmail.com> <87y1veyong.fsf@gmail.com> <87v8qhzn08.fsf@protonmail.com> Date: Thu, 25 Aug 2022 11:47:09 +0200 Message-ID: <87fshkzmci.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57373 Cc: Lars Ingebrigtsen , 57373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Wed, 24 Aug 2022 15:20:48 +0000, John Kehayias via "Bug reports fo= r GNU Emacs, the Swiss army knife of text editors" = said: John> Hello Robert, John> Thanks for such a quick response and fix! Let me just add my use = case John> being that some SMTP servers I use have different authentication John> methods, but will try and fail with the others. I could work arou= nd John> this by modifying the ordering in smtpmail-auth-supported, at lea= st John> for my current sent of servers. Anyway, was happy to see this fea= ture John> for exactly this reason. SMTP AUTH is standard, except when it=CA=BCs not :-) John> I was able to send mail with John> smtp-auth specified in my authinfo. Good to know. I=CA=BCll push it to master once Lars is OK with it. Thanks Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 07:20:26 2022 Received: (at 57373) by debbugs.gnu.org; 25 Aug 2022 11:20:27 +0000 Received: from localhost ([127.0.0.1]:49189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRAuQ-0000JZ-Eb for submit@debbugs.gnu.org; Thu, 25 Aug 2022 07:20:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRAuP-0000JB-2R for 57373@debbugs.gnu.org; Thu, 25 Aug 2022 07:20:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YkBoTkTbfopv/7zH9rJXwcwz+mTHxc4xdCfyR4EncYM=; b=IAE2UzxGFOQ8voWFz+dSZyLn5c bcCS5Thb65nkXt/cLZEF0djDz6mO1OIRFRmFEi7XnDcp5uNjUj5e13/xBYDjS9x3r2SBpisd2bmfR qXlScQP3nHO5DBEhg+hGPxcuciNu+FB7NEk0tG4FQhzuI9O24WSlCPtxUZT2tbSWeWbs=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oRAuG-000789-At; Thu, 25 Aug 2022 13:20:18 +0200 From: Lars Ingebrigtsen To: Robert Pluim Subject: Re: bug#57373: 28.1; authinfo keyword smtp-auth does not work In-Reply-To: <87tu60zrbi.fsf@gmail.com> (Robert Pluim's message of "Thu, 25 Aug 2022 09:59:45 +0200") References: <87wnay8vs3.fsf@protonmail.com> <87y1veyong.fsf@gmail.com> <87zgftn9tk.fsf@gnus.org> <87tu60zrbi.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEXk284dFxavnJOM dm5bQz6Yg3v///+dUZfgAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YIGQsTEo+r3tAAAAGbSURBVDjL lZO7dsIwDIZd2gfAwd1bE+8lUva6FjuHJO//KtXFhgBlqBZz9EW3X8I59+If7MOJfT6Cr2dgqyA/ gvdnIDwDXsEffm1rs3a06K8VyOQ9ARj6ZvAqP3bZw7BQ9oFy6/dNuiAfjjEihRxQQFeBshhhgH6I ErJzJhWFeYBzZFuiglDBSOo1O9RBWKoQ9+MdOJmG5tnYk2u/8sEqUQVbk+pn5d8r2Bk4iqOBpq8+ 7Ei1xtz01WeQiE0SQBWYhpyr/0l0Yn4LgnhISmEDrwYkV5FME1ZgGoYio6RpvBZvYCI2CTzcAK6O BYH9qW63nVuJCUbgdD3dgsA1VDG8A02umcgrcn07vkGFIkJuQsC+nZROgaEAwcizuPlybIMU4MuC 5cw7uaSSWdhfRhmSl2IgtxMiWJZFhTFQO5EAaw7J2s3aCQcUgGk8x4Sgm+WDzcLqbB1vM7qa+yAD lBAEdpLMESDnzv1MPR4LEd/9uwLZMuuNSDOyPzDoGkgmnP01gr+CuAfkgWGcYLrcsLMn3RzpGgxP wKP9H/wCro6L3ezBcMcAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDgtMjVUMTE6MTk6MTgrMDA6 MDAHT30mAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA4LTI1VDExOjE5OjE4KzAwOjAwdhLFmgAA AABJRU5ErkJggg== X-Now-Playing: Heidi Berry's _Miracle_: "Queen" Date: Thu, 25 Aug 2022 13:20:15 +0200 Message-ID: <87lerclgcw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Robert Pluim writes: > `mechs' can be either the intersection of `smtpmail-auth-supported' > and `supported-extensions' or the result from `auth-info'. In the > latter case it contains strings, in the former symbols, and [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57373 Cc: John Kehayias , 57373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Robert Pluim writes: > `mechs' can be either the intersection of `smtpmail-auth-supported' > and `supported-extensions' or the result from `auth-info'. In the > latter case it contains strings, in the former symbols, and `intern' > only accepts symbols. (The last "symbols" should be "strings" presumably =F0=9F=98=80) Then the patch looks good to me; please go ahead and push. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 09:27:47 2022 Received: (at 57373) by debbugs.gnu.org; 25 Aug 2022 13:27:48 +0000 Received: from localhost ([127.0.0.1]:49474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRCtf-0001kf-C4 for submit@debbugs.gnu.org; Thu, 25 Aug 2022 09:27:47 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:42873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRCtd-0001kO-Io; Thu, 25 Aug 2022 09:27:45 -0400 Received: by mail-wr1-f46.google.com with SMTP id u14so24611535wrq.9; Thu, 25 Aug 2022 06:27:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc; bh=umuczEGBwwtjxAQiEm1yaJwDpgcX/Ma+8ljqaN7Q8W8=; b=SUbDw1O/3Qas0D07HaTcI1NkTTbohNGQ1M9JG47y9opqWapSj0FOV35qupzxUtN6Me 4Qjjpqg6iCUpXNINBQZSdKzZFA8XGNJuWXhzTCYLE49f+LslsiQqT0XowmyZm5hZhKsM LSaF+TYO7dIgCx9xWySGWTC08yKcPA5wnL3OeLeHaNJFm7wGrVJpQMFmZf/6sRWRwYMK 86p7EU03Ol9dUXnwE1gHbVzn5p2643IqnhFfE9o1lDLbsmDvBg6qYHLQig0SGJbnpeN6 RwA0ab6VmrhMDIT1wvE26o1dZdwd6eCVqFnX3AUabLl1tAjVsuIUh8Ft0xbif5QAjpXv A42g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=umuczEGBwwtjxAQiEm1yaJwDpgcX/Ma+8ljqaN7Q8W8=; b=fx0V41SDOTLOwLAznpU3qoJPNKkzFq70rEG3do+pRCvIl/OGNMA2DryDDRKxEWsLWT WOkj8Cj4O6JCYJc0u4c+m9GKyUfS8ooPDI+mWAoZXcO/cun3PIIenLIS60168zbmgKht tu7oMfyDNqSjiH7ybbWTl/G5xKTXe8hO7wBWR4RzUkLkjwG/tJXyAeGm5f94AlSPo73t M179q53Op19+hnsHz50hDVRx1LjQWDsCFMdxfapb9/IbAzqCLS8b7gBK8VZ2Vjauklt0 aiBbBU6nZjqH1ZQfo0LD2eYcrjitSkqkDEemYPHtrELzkPvwTb0Q7YlTR/w+1BuJjtLy O9dg== X-Gm-Message-State: ACgBeo3T+j4mKMcdEzTFH5V37K/96BRRjoWKLawQi2vnaJJshFRzginN 7bhnNkBfHShYTRFzsBOIBCXxX+wtXPY= X-Google-Smtp-Source: AA6agR4wzziWh2or/7mzpxlUepuivAnjZDShSoi/T1RtydOM4iPNvmD3IyLuK1W1EWXxJpeQIBjC4A== X-Received: by 2002:adf:d1c4:0:b0:225:6f39:78ae with SMTP id b4-20020adfd1c4000000b002256f3978aemr2299451wrd.691.1661434059340; Thu, 25 Aug 2022 06:27:39 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:a788:ce81:2b1b:38a8]) by smtp.gmail.com with ESMTPSA id g8-20020adffc88000000b002258619d342sm608916wrr.2.2022.08.25.06.27.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 06:27:38 -0700 (PDT) From: Robert Pluim To: Lars Ingebrigtsen Subject: Re: bug#57373: 28.1; authinfo keyword smtp-auth does not work In-Reply-To: <87lerclgcw.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 25 Aug 2022 13:20:15 +0200") References: <87wnay8vs3.fsf@protonmail.com> <87y1veyong.fsf@gmail.com> <87zgftn9tk.fsf@gnus.org> <87tu60zrbi.fsf@gmail.com> <87lerclgcw.fsf@gnus.org> Date: Thu, 25 Aug 2022 15:27:37 +0200 Message-ID: <87a67szc52.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57373 Cc: John Kehayias , 57373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 57373 fixed close 57373 29.1 quit >>>>> On Thu, 25 Aug 2022 13:20:15 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >> `mechs' can be either the intersection of `smtpmail-auth-supported' >> and `supported-extensions' or the result from `auth-info'. In the >> latter case it contains strings, in the former symbols, and `intern' >> only accepts symbols. Lars> (The last "symbols" should be "strings" presumably =F0=9F=98=80) Yes. I plead youth and inexperience and long and faithful service :-) Lars> Then the patch looks good to me; please go ahead and push. Done. Closing. Committed as 2385bf3397 Robert --=20 From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 12:18:28 2022 Received: (at control) by debbugs.gnu.org; 25 Aug 2022 16:18:28 +0000 Received: from localhost ([127.0.0.1]:51104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRFYq-0002gg-DP for submit@debbugs.gnu.org; Thu, 25 Aug 2022 12:18:28 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:35389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRFYk-0002gN-FD for control@debbugs.gnu.org; Thu, 25 Aug 2022 12:18:26 -0400 Received: by mail-wm1-f52.google.com with SMTP id m17-20020a7bce11000000b003a5bedec07bso2999189wmc.0 for ; Thu, 25 Aug 2022 09:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc; bh=5RnJqMfMnX8XDqwyYKWTEpsM+B9IL1pxiVfoleAFfZQ=; b=OpjSaqk9QLe2KRpO2r0MQMaTCArjDhLbPtgXSkIxSVUq5C9fXIIxOxX1rb9/F9eL35 RpCrMoGhJmIlQ2y6lBd4YyWY9u1kic4qElPYAVb3d7YeqQmKhtWGZVrbGWhXZU2xuMa8 EOo5RAmC2W8sPVduEeDYK3oAs78izl6iMjxo7OlXYnQOYtnlW5cCFGKS2CXX/YbY1fzu QIPp/5ZkWAxry3AbPFfja5KKhPoMVr97DUL4gtHTqmAgmVcUkYRW5hGM06ZvVYqv4WpZ X/aBe1VZu0scM8HfPQzmDoqNwnW91bZYpvdiI9Lew0TGoK9A5eGCpvTsEE3qNidyGcxz 8PJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc; bh=5RnJqMfMnX8XDqwyYKWTEpsM+B9IL1pxiVfoleAFfZQ=; b=NOS2V2av1llFcFGf+aIQrtoUs+5gOezbi6m5h6/H4tr8qztl9QSRoqWr4e3vWKAmLi I3KJYgVpHbwYEE2UvKzDSm50WCF+r/5ib8nkpuBtgILA1VXDeHbzuDprEWWwgBUrrhmT aaLwtGewWJ3DeeG9Tkk1ULxMNewUHqOWkZ2UBmABCnYXcJwXz6FHSz7woas/khqPHWqy 11aMQfPZZSdipcyb6CrpryyvXStCqXW5p1wZxiMjFEl82P9mYRlCgv+CCE2XX7IXyb5o j/7YR0gOBjprdOpGLNyfXysk6TdH/n9IeWH7gZpmOo7pZRrf9Ce9om1QOG0z0JRSbWvY 128w== X-Gm-Message-State: ACgBeo08h/1IwKKEtTGzu1gAl6dzuC12Eus4kVfn5B30zqm/dn8uVF7g /tMpA/XRKeLSUzu3W3Be3vn3n4AQkT8= X-Google-Smtp-Source: AA6agR6QoCcgBIklqZ4XP6Et9l1+FFS16rN0tX2pMqeVVwyMxx7I0lBCY9CQ7wypDvvwD72xvkC6+A== X-Received: by 2002:a7b:cc94:0:b0:3a5:a965:95ea with SMTP id p20-20020a7bcc94000000b003a5a96595eamr2871628wma.166.1661444296052; Thu, 25 Aug 2022 09:18:16 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:c9cb:47b6:7fdd:18c5]) by smtp.gmail.com with ESMTPSA id p13-20020a05600c358d00b003a607e395ebsm7731215wmq.9.2022.08.25.09.18.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 09:18:15 -0700 (PDT) From: Robert Pluim To: control@debbugs.gnu.org Subject: control message for bug #57373 Date: Thu, 25 Aug 2022 18:18:14 +0200 Message-ID: <87ilmg70vt.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 57373 28.2 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 17:28:19 2022 Received: (at 57373) by debbugs.gnu.org; 25 Aug 2022 21:28:19 +0000 Received: from localhost ([127.0.0.1]:51489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRKOh-0004Wg-BK for submit@debbugs.gnu.org; Thu, 25 Aug 2022 17:28:19 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:57315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRKOc-0004WO-N4 for 57373@debbugs.gnu.org; Thu, 25 Aug 2022 17:28:17 -0400 Date: Thu, 25 Aug 2022 21:28:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1661462887; x=1661722087; bh=yCICdL+ehnvK9ixCoOdnm9no0gwjaQCP6DKJSpSPgwQ=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=SOf610UU9QitvII72zMEdUrVi0DooQ77sea4rWgYbWe1clediaU0lvhMTHdDNNsJj pKnvM0nRMUWI17WVs++LlwriMvRif6sleBFgiQ+lLKeKgKGnEQ3X+HIZpRxdCqH1LL VgjBRQBQ6yeHsIJlE0a0Mx4340sU3plI9ZSfGYAk/6Rw4gAw7Zvo7cWtQ1QcNG5Glt d8LONC37FRtdzuKSckA9QRn9m/pegOhRnZuXcD+LKfWmcCVbYKQjcagZB2x1O1EKpk P6ip5BQCWjjEQrGT0rsKTU3/raf5hTV3DTLlB97z5y8vOX8a1oulNAaRgqvvd9Lm/H 3/F9Bnxz2rgSA== To: Robert Pluim From: John Kehayias Subject: Re: bug#57373: 28.1; authinfo keyword smtp-auth does not work Message-ID: <87o7w8ypwk.fsf@protonmail.com> In-Reply-To: <87a67szc52.fsf@gmail.com> References: <87wnay8vs3.fsf@protonmail.com> <87y1veyong.fsf@gmail.com> <87zgftn9tk.fsf@gnus.org> <87tu60zrbi.fsf@gmail.com> <87lerclgcw.fsf@gnus.org> <87a67szc52.fsf@gmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 57373 Cc: Lars Ingebrigtsen , 57373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: John Kehayias Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, Aug 25, 2022 at 03:27 PM, Robert Pluim wrote: > tags 57373 fixed > close 57373 29.1 > quit > Thank you both! From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 26 03:52:55 2022 Received: (at 57373) by debbugs.gnu.org; 26 Aug 2022 07:52:55 +0000 Received: from localhost ([127.0.0.1]:51957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRU99-00061V-Gy for submit@debbugs.gnu.org; Fri, 26 Aug 2022 03:52:55 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:34368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRU94-00061E-Nj for 57373@debbugs.gnu.org; Fri, 26 Aug 2022 03:52:54 -0400 Received: by mail-wm1-f54.google.com with SMTP id z14-20020a7bc7ce000000b003a5db0388a8so3637040wmk.1 for <57373@debbugs.gnu.org>; Fri, 26 Aug 2022 00:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=DtnuFTk4HcLiXScvuE7JExPCnOuZ/ecVcaoJ3D0T+8I=; b=Wnwkh69PPQUHxZaCHyxrcdUBuRdkDE+6BOL/V1F+0v9Q3cHTcIpqoRHwXjGLWg3jdj 9UbRFiftnf5s1Sm0nq0pvvOiCZaoRE0vPHON8/srm1o81xTEZd5Uz+cIfd24LbYhwbLM ogU4GBnixN9DIkCS9+OSQUWToqvSvoi5d4yOUymT8jcDh6vEGBXX98NVDpgzmw5WfiuH HsmZUv6xY5MTUEavSrO4aDMYeFzpiRox0DCOATXR0OYiioFFcz0GlPf+xHUMnouCNdzD IBaQauVWagX37Cpwfh4tzcoQGD03gqvZLX17VasWF+ddaggdXLZ21sirV2pc6U/NTiet UVOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=DtnuFTk4HcLiXScvuE7JExPCnOuZ/ecVcaoJ3D0T+8I=; b=UnVM0AFe6IMnjL5j5P/IJDdF0bmuK0HTaYvgZvNYUz4L2Jyrajgcjd3cO45C6hIKNA DvTdeIlnomdh5nWMepQM1bdCi9igoyfp83QetQf9IYJVv6dwwISGcEn5XLzcxo9Nuncv jYruUqauj4CDiPdLGeG4bqkn0RHCUXoNRX+ypEo6eMIymKQqgxw2/3WfLKL+wdU8YHTj XVda8X3+DZ1yOx2cY32RrhrJO2EK1j4neG+EkgbcQrtiPOno3el6a+7HByHpGBg+VgaA MeSTpOE4e84M+Fwm5zPF4vh4tmXHGtIFU4vVwrV1k4xJKyZvD5eHkSEFICeVcQ2aEoxs Abwg== X-Gm-Message-State: ACgBeo1p8My/Kv3RI0xHRuMo7YvGH+cKPJb8yhooHVc9XLsLtHLH5kJ5 Rmhw77d2J9TzY66qb5MWcJiOzeskvmc= X-Google-Smtp-Source: AA6agR6JRhUsn15CNe2FrLtyBSo9xkAh4OrGVrt4L8hs41evj6YGE4n9n4FGcr/buTt7/O8bazsJog== X-Received: by 2002:a05:600c:1f0f:b0:3a5:c132:66e9 with SMTP id bd15-20020a05600c1f0f00b003a5c13266e9mr4416683wmb.205.1661500364372; Fri, 26 Aug 2022 00:52:44 -0700 (PDT) Received: from rltb ([2a01:e0a:3f3:fb50:c9cb:47b6:7fdd:18c5]) by smtp.gmail.com with ESMTPSA id u7-20020a05600c00c700b003a60edc3a44sm1857238wmm.5.2022.08.26.00.52.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 00:52:43 -0700 (PDT) From: Robert Pluim To: John Kehayias Subject: Re: bug#57373: 28.1; authinfo keyword smtp-auth does not work In-Reply-To: <87o7w8ypwk.fsf@protonmail.com> (John Kehayias's message of "Thu, 25 Aug 2022 21:28:04 +0000") References: <87wnay8vs3.fsf@protonmail.com> <87y1veyong.fsf@gmail.com> <87zgftn9tk.fsf@gnus.org> <87tu60zrbi.fsf@gmail.com> <87lerclgcw.fsf@gnus.org> <87a67szc52.fsf@gmail.com> <87o7w8ypwk.fsf@protonmail.com> Date: Fri, 26 Aug 2022 09:52:42 +0200 Message-ID: <87a67r786t.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57373 Cc: Lars Ingebrigtsen , 57373@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>>>> On Thu, 25 Aug 2022 21:28:04 +0000, John Kehayias said: John> On Thu, Aug 25, 2022 at 03:27 PM, Robert Pluim wrote: >> tags 57373 fixed >> close 57373 29.1 >> quit >> John> Thank you both! np. And despite this message, the fix will actually appear in emacs-28.2 and emacs-29.1 Thanks Robert -- From unknown Mon Jun 23 18:29:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Sep 2022 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator