unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Duncan Bayne <duncan@bayne.id.au>
Cc: 45711@debbugs.gnu.org
Subject: bug#45711: 27.1; Ambiguous account match in .authinfo still used by smtpmail
Date: Sat, 09 Jan 2021 14:39:51 +0000	[thread overview]
Message-ID: <h7nqp420.fsf@lifelogs.com> (raw)
In-Reply-To: <87lfd5osiu.fsf@bayne.id.au> (Duncan Bayne's message of "Thu, 07 Jan 2021 23:12:09 +1100")

On Thu, 07 Jan 2021 23:12:09 +1100 Duncan Bayne <duncan@bayne.id.au> wrote: 

DB> I think the correct behaviour here would be to have smtpmail to refuse
DB> to send if there's an ambiguous account match in .authinfo.  I can't
DB> off-hand think of a single case where I'd *want* it to just take the
DB> first matching account where there are several possibilities.

I think it's common to have more specific matches on top, and less
specific matches down the list. That's why returning the first one makes
sense, and potentially there's always an ambiguous entry. It would break
such setups to do what you're suggesting.

Ted





  reply	other threads:[~2021-01-09 14:39 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 [this message]
2021-01-09 23:30   ` Duncan Bayne
2021-01-10 14:33     ` Lars Ingebrigtsen
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

  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=h7nqp420.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=45711@debbugs.gnu.org \
    --cc=duncan@bayne.id.au \
    /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).