[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26307: 25.1; smtpmail hard-coded auth mechanism order does not allow
From: |
Marco Maggi |
Subject: |
bug#26307: 25.1; smtpmail hard-coded auth mechanism order does not allow coping with misbehaving servers |
Date: |
Sat, 01 Apr 2017 13:12:08 +0200 |
Glenn Morris wrote:
> 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.
> 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?
But the symbol is defined as a constant, so it would be bad style? It
is also undocumented. Ideally one should be able to select such
configuration on a per-server basis.
--
Marco Maggi
- bug#26307: 25.1; smtpmail hard-coded auth mechanism order does not allow coping with misbehaving servers,
Marco Maggi <=