From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81481 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: nntp-send-authinfo doesn't look at nntp-port-number Date: Sat, 25 Feb 2012 09:41:44 +0900 Message-ID: References: <87ty2iqcjv.fsf@Gmail.com> <871uplww7d.fsf@Gmail.com> <87pqd4utjx.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330130547 6149 80.91.229.3 (25 Feb 2012 00:42:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2012 00:42:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29761@lists.math.uh.edu Sat Feb 25 01:42:27 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S15iU-0001ib-0w for ding-account@gmane.org; Sat, 25 Feb 2012 01:42:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1S15iF-0006Vi-9p; Fri, 24 Feb 2012 18:42:11 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S15iE-0006VX-5J for ding@lists.math.uh.edu; Fri, 24 Feb 2012 18:42:10 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1S15i3-0003MW-Kc for ding@lists.math.uh.edu; Fri, 24 Feb 2012 18:42:09 -0600 Original-Received: from mail-halifax.hostforweb.net ([205.234.137.17] helo=halifax.hostforweb.net) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S15i1-0001Yd-Uk for ding@gnus.org; Sat, 25 Feb 2012 01:41:58 +0100 Original-Received: from softbank219034144017.bbtec.net ([219.34.144.17]:49503 helo=) by halifax.hostforweb.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1S15hu-0001N5-T7 for ding@gnus.org; Fri, 24 Feb 2012 18:41:51 -0600 Original-References: <87ty2iqcjv.fsf@Gmail.com> <871uplww7d.fsf@Gmail.com> <87pqd4utjx.fsf@lifelogs.com> User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:ZIqU5r5wFFxrrN4rOUE8FdnPHr4= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - halifax.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81481 Archived-At: Ted Zlatanov wrote: > On Fri, 24 Feb 2012 08:11:14 +0900 Katsumi Yamaoka wrote: KY> + :port (or (cdr (assoc (format "%s" nntp-port-number) KY> + '(("563" . ("563" "nntps" "snews"))))) KY> + '("119" "nntp"))))) > Sorry I didn't reply sooner... this could be simply > `("119" "nntp" ,(format "%s" nntp-port-number) "563" "nntps" "snews") > The order doesn't matter. It makes sense to search for all these > possible matches in the authinfo/netrc file at once, with the assumption > that it's very unlikely a user will use both port 119 and 563 on a NNTP > server, and with different passwords. WDYT? I did it so. Thanks for following this.