bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45711: 27.1; Ambiguous account match in .authinfo still used by smtp


From: Lars Ingebrigtsen
Subject: bug#45711: 27.1; Ambiguous account match in .authinfo still used by smtpmail
Date: Sun, 10 Jan 2021 15:33:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]