all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Duncan Bayne <duncan@bayne.id.au>
Cc: 45711@debbugs.gnu.org, Ted Zlatanov <tzz@lifelogs.com>
Subject: bug#45711: 27.1; Ambiguous account match in .authinfo still used by smtpmail
Date: Sun, 10 Jan 2021 15:33:27 +0100	[thread overview]
Message-ID: <87r1mssvyg.fsf@gnus.org> (raw)
In-Reply-To: <875z45adtm.fsf@bayne.id.au> (Duncan Bayne's message of "Sun, 10 Jan 2021 10:30:13 +1100")

Duncan Bayne <duncan@bayne.id.au> writes:

> What it seems to be doing with (car (... :max 1) is to simply take the
> first match and use that.
>
> What I *think* it should do is either a) error out in the case of an
> ambiguous match, or b) prompt the use to ask which of the various
> matches it should use.

As Ted said, it's common to have specific passwords for some services,
and use a fallback for the rest.

machine foo port smtp password zot
machine foo port nntp password bar
machine foo password gazonk

Changing how this works would break people's setups, so we can't do
that.  But I see that this hasn't actually been documented anywhere?  So
I've now added that to the auth manual in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-01-10 14:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07 12:12 bug#45711: 27.1; Ambiguous account match in .authinfo still used by smtpmail Duncan Bayne
2021-01-09 14:39 ` Ted Zlatanov
2021-01-09 23:30   ` Duncan Bayne
2021-01-10 14:33     ` Lars Ingebrigtsen [this message]
2021-01-11  2:02       ` Duncan Bayne
2021-01-11 15:18         ` Lars Ingebrigtsen
2021-01-10 14:43     ` Ted Zlatanov

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=87r1mssvyg.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=45711@debbugs.gnu.org \
    --cc=duncan@bayne.id.au \
    --cc=tzz@lifelogs.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 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.