* Re: master 6216c7a: Allow specifying that SMTP auth should always be used [not found] ` <20190726101700.307C020C06@vcs0.savannah.gnu.org> @ 2019-07-26 11:56 ` Robert Pluim 2019-07-26 12:07 ` Lars Ingebrigtsen 0 siblings, 1 reply; 4+ messages in thread From: Robert Pluim @ 2019-07-26 11:56 UTC (permalink / raw) To: emacs-devel; +Cc: Lars Ingebrigtsen >>>>> On Fri, 26 Jul 2019 06:16:59 -0400 (EDT), larsi@gnus.org (Lars Ingebrigtsen) said: Larsi> branch: master Larsi> commit 6216c7abd4cefd6245d29272d899490045cfdeff Larsi> Author: Lars Ingebrigtsen <larsi@gnus.org> Larsi> Commit: Lars Ingebrigtsen <larsi@gnus.org> Larsi> Allow specifying that SMTP auth should always be used Larsi> * doc/misc/smtpmail.texi (Authentication): Document it. Larsi> * lisp/mail/smtpmail.el Larsi> (smtpmail-servers-requiring-authorization): New variable (bug#26359). Larsi> (smtpmail-via-smtp): Use it. If the user can customize smtpmail-servers-requiring-authorization, then they can also add an appropriate entry to .authinfo to make smtpmail do authentication, so why is such a variable needed? Robert ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: master 6216c7a: Allow specifying that SMTP auth should always be used 2019-07-26 11:56 ` master 6216c7a: Allow specifying that SMTP auth should always be used Robert Pluim @ 2019-07-26 12:07 ` Lars Ingebrigtsen 2019-07-26 12:47 ` Robert Pluim 2019-07-26 14:12 ` Stefan Monnier 0 siblings, 2 replies; 4+ messages in thread From: Lars Ingebrigtsen @ 2019-07-26 12:07 UTC (permalink / raw) To: emacs-devel Robert Pluim <rpluim@gmail.com> writes: > If the user can customize smtpmail-servers-requiring-authorization, > then they can also add an appropriate entry to .authinfo to make > smtpmail do authentication, so why is such a variable needed? smtpmail always tries first without auth, and then starts looking around for credentials if the SMTP servers says "give me credentials". We could make it start sending credentials immediately if there's an .authinfo entry, but that'd be a behaviour change, and the user may have specified just "machine my.mail.host" for (for instance) IMAP usage, and there's no auth on SMTP, in which case the SMTP server may deny the connection. And besides, the user may be typing in the credentials and not using .authinfo. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: master 6216c7a: Allow specifying that SMTP auth should always be used 2019-07-26 12:07 ` Lars Ingebrigtsen @ 2019-07-26 12:47 ` Robert Pluim 2019-07-26 14:12 ` Stefan Monnier 1 sibling, 0 replies; 4+ messages in thread From: Robert Pluim @ 2019-07-26 12:47 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: emacs-devel >>>>> On Fri, 26 Jul 2019 14:07:18 +0200, Lars Ingebrigtsen <larsi@gnus.org> said: Larsi> Robert Pluim <rpluim@gmail.com> writes: >> If the user can customize smtpmail-servers-requiring-authorization, >> then they can also add an appropriate entry to .authinfo to make >> smtpmail do authentication, so why is such a variable needed? Larsi> smtpmail always tries first without auth, and then starts looking around Larsi> for credentials if the SMTP servers says "give me credentials". I was convinced thatʼs not how it worked, but the code disagrees with me. Larsi> We could make it start sending credentials immediately if there's an Larsi> .authinfo entry, but that'd be a behaviour change, and the user may have Larsi> specified just "machine my.mail.host" for (for instance) IMAP usage, and Larsi> there's no auth on SMTP, in which case the SMTP server may deny the Larsi> connection. And again I was convinced we did port matching, but again thatʼs not how auth-source works when the machine entry doesnʼt have a port. Larsi> And besides, the user may be typing in the credentials and not using Larsi> .authinfo. I appear to be 0 for 3 here. Oh well. Robert ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: master 6216c7a: Allow specifying that SMTP auth should always be used 2019-07-26 12:07 ` Lars Ingebrigtsen 2019-07-26 12:47 ` Robert Pluim @ 2019-07-26 14:12 ` Stefan Monnier 1 sibling, 0 replies; 4+ messages in thread From: Stefan Monnier @ 2019-07-26 14:12 UTC (permalink / raw) To: Lars Ingebrigtsen; +Cc: emacs-devel > And besides, the user may be typing in the credentials and not using > .authinfo. Guilty as charged! Stefan ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-07-26 14:12 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20190726101658.4938.74351@vcs0.savannah.gnu.org> [not found] ` <20190726101700.307C020C06@vcs0.savannah.gnu.org> 2019-07-26 11:56 ` master 6216c7a: Allow specifying that SMTP auth should always be used Robert Pluim 2019-07-26 12:07 ` Lars Ingebrigtsen 2019-07-26 12:47 ` Robert Pluim 2019-07-26 14:12 ` Stefan Monnier
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).