From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31772 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Authinfo and server name (was: Gnus v5.8.7 is released) Date: 13 Jul 2000 12:13:03 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <2n1z1ccggx.fsf@tiger.jia.vnet> <87aefndz2m.fsf_-_@delivery.cam.eu.citrix.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168144 15981 80.91.224.250 (21 Oct 2002 02:42:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:42:24 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id 3B328D051E for ; Thu, 13 Jul 2000 12:37:23 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id LAC08292; Thu, 13 Jul 2000 11:36:38 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 13 Jul 2000 11:35:22 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA17021 for ; Thu, 13 Jul 2000 11:35:12 -0500 (CDT) Original-Received: from vic20.blipp.com (unknown [195.84.94.187]) by mailhost.sclp.com (Postfix) with ESMTP id 9B9F4D051E for ; Thu, 13 Jul 2000 12:35:40 -0400 (EDT) Original-Received: from barbar.josefsson.org.d.dynas.se (IDENT:root@localhost [127.0.0.1]) by vic20.blipp.com (8.10.1/8.10.1) with SMTP id e6DGZXM00474; Thu, 13 Jul 2000 18:35:33 +0200 Original-To: Toby Speight In-Reply-To: Toby Speight's message of "12 Jul 2000 18:43:13 +0100" Mail-Copies-To: never User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Capitol Reef) Original-Lines: 23 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31772 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31772 Toby Speight writes: > Simon> Nnimap used to have a hack that allowed you to specify the > Simon> virtual server name in .authinfo files, and nnimap tried to > Simon> look up this name ("" in your case) -- and received the default > Simon> entry back... > Simon> > Simon> I've now removed the hack from cvs. > > Ouch! That seems a bit harsh - when I upgrade, nnimap will suddenly > stop working and I won't know why. > > Wouldn't it be better to just change the order to try the hostname > first? If we did that and a user had 1) no entry for the hostname in authinfo and 2) had a default entry in authinfo; he would get the default entry instead and couldn't figure out why. Perhaps the gnus-netrc-machine need even more functionality, so it doesn't fall back on the "default" entry? Then nnimap could try the hostname first, without default fallback, and then try the server name, with default fallback.