From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Kehayias via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#57373: 28.1; authinfo keyword smtp-auth does not work Date: Tue, 23 Aug 2022 22:01:10 +0000 Message-ID: <87wnay8vs3.fsf@protonmail.com> Reply-To: John Kehayias 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="19607"; mail-complaints-to="usenet@ciao.gmane.io" To: 57373@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 24 00:02:22 2022 Return-path: Envelope-to: geb-bug-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 1oQbyY-0004zr-76 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 00:02:22 +0200 Original-Received: from localhost ([::1]:49638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQbyX-0007eq-3Y for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Aug 2022 18:02:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39244) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQbyE-0007e5-Vf for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 18:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQbyE-0000xI-Nb for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 18:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQbyE-0003kG-DL for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2022 18:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Aug 2022 22:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57373 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166129209514360 (code B ref -1); Tue, 23 Aug 2022 22:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Aug 2022 22:01:35 +0000 Original-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 Original-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 Original-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 Original-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 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== Feedback-ID: 7805494:user:proton 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , John Kehayias Xref: news.gmane.io gmane.emacs.bugs:240575 Archived-At: 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))