From: Glenn Morris <rgm@gnu.org>
To: marco.maggi-ipsu@poste.it
Cc: 26307@debbugs.gnu.org
Subject: bug#26307: 25.1; smtpmail hard-coded auth mechanism order does not allow coping with misbehaving servers
Date: Fri, 31 Mar 2017 18:59:27 -0400 [thread overview]
Message-ID: <0l7f3559yo.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <8737dvdzkm.fsf@poste.it> (Marco Maggi's message of "Thu, 30 Mar 2017 08:54:33 +0200")
Marco Maggi wrote:
> (defconst smtpmail-auth-supported '(cram-md5 plain login)
> "List of supported SMTP AUTH mechanisms.
> The list is in preference order.")
>
> it would be useful to have a public API mechanism to change such order
> in case the server misbehaves when using the cram-m5 method.
>
> I am customer of a mail service using a server that advertises to
> support the cram-md5, plain and login methods but then when trying
> cram-md5 the authentication fails; the login method succeeds.
>
> Just changing the above code to:
>
> (defconst smtpmail-auth-supported '(login cram-md5 plain)
>
> and recompiling fixes my problems.
Intead of recompiling, you can add to your .emacs:
(with-eval-after-load 'smtpmail
(setq smtpmail-auth-supported '(login cram-md5 plain)))
Perhaps no Emacs change is needed then?
next prev parent reply other threads:[~2017-03-31 22:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-30 6:54 bug#26307: 25.1; smtpmail hard-coded auth mechanism order does not allow coping with misbehaving servers Marco Maggi
2017-03-31 22:59 ` Glenn Morris [this message]
2017-04-01 11:12 ` Marco Maggi
2017-04-02 15:35 ` Glenn Morris
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0l7f3559yo.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=26307@debbugs.gnu.org \
--cc=marco.maggi-ipsu@poste.it \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.