From: John Kehayias via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 57373@debbugs.gnu.org
Subject: bug#57373: 28.1; authinfo keyword smtp-auth does not work
Date: Tue, 23 Aug 2022 22:01:10 +0000 [thread overview]
Message-ID: <87wnay8vs3.fsf@protonmail.com> (raw)
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 .authinfo. 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 keyword is read in by auth-source-search as a string, while the call to smtpmail-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 can 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, cairo 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=gtk3 --with-native-compilation --sysconfdir=/etc
--prefix=/usr --libexecdir=/usr/lib --localstatedir=/var --with-cairo --with-harfbuzz
--with-libsystemd --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt
-fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security
-fstack-clash-protection -fcf-protection -g
-ffile-prefix-map=/build/emacs/src=/usr/src/debug -flto=auto'
'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto''
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON 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))
next reply other threads:[~2022-08-23 22:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-23 22:01 John Kehayias via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-08-24 9:30 ` bug#57373: 28.1; authinfo keyword smtp-auth does not work Robert Pluim
2022-08-24 11:46 ` Lars Ingebrigtsen
2022-08-25 7:59 ` Robert Pluim
2022-08-25 11:20 ` Lars Ingebrigtsen
2022-08-25 13:27 ` Robert Pluim
2022-08-25 21:28 ` John Kehayias via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-26 7:52 ` Robert Pluim
2022-08-24 15:20 ` John Kehayias via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-08-25 9:47 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wnay8vs3.fsf@protonmail.com \
--to=bug-gnu-emacs@gnu.org \
--cc=57373@debbugs.gnu.org \
--cc=john.kehayias@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).