unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: master 6216c7a: Allow specifying that SMTP auth should always be used
Date: Fri, 26 Jul 2019 14:07:18 +0200	[thread overview]
Message-ID: <m34l399eyx.fsf@gnus.org> (raw)
In-Reply-To: <m2k1c5j9fj.fsf@gmail.com> (Robert Pluim's message of "Fri, 26 Jul 2019 13:56:48 +0200")

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



  reply	other threads:[~2019-07-26 12:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2019-07-26 12:47       ` Robert Pluim
2019-07-26 14:12       ` Stefan Monnier

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=m34l399eyx.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    /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).