From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81475 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: Thu, 23 Feb 2012 20:05:33 +0900 Organization: Emacsen advocacy group Message-ID: References: <87ty2iqcjv.fsf@Gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1329995228 16164 80.91.229.3 (23 Feb 2012 11:07:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2012 11:07:08 +0000 (UTC) Cc: ding@gnus.org To: XeCycle Original-X-From: ding-owner+M29755@lists.math.uh.edu Thu Feb 23 12:07:07 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 1S0WVv-0007Y6-3x for ding-account@gmane.org; Thu, 23 Feb 2012 12:07:07 +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 1S0WUy-0002je-5q; Thu, 23 Feb 2012 05:06:08 -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 1S0WUt-0002jR-RI for ding@lists.math.uh.edu; Thu, 23 Feb 2012 05:06:03 -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 1S0WUs-00032a-A7 for ding@lists.math.uh.edu; Thu, 23 Feb 2012 05:06:03 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S0WUq-0002Rl-C1 for ding@gnus.org; Thu, 23 Feb 2012 12:06:00 +0100 Original-Received: from localhost ([127.0.0.1]:53832) by orlando.hostforweb.net with smtp (Exim 4.69) (envelope-from ) id 1S0WUf-0007TW-HN; Thu, 23 Feb 2012 05:05:50 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.130004 (=?iso-2022-jp?B?GyRCPz8bKEI=?= Gnus v0.4) Emacs/24.0.93 (i686-pc-cygwin) Cancel-Lock: sha1:TBnQ8ARm73hfpj6/t9nRM5X9Trc= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.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:81475 Archived-At: --=-=-= XeCycle wrote: > I ran to a problem about Gnus not reading my stored password. > After some debug, I found I need to remove "port 563" in > .authinfo, even if I already put (nntp-port-number 563) in the > virtual server specification. It still looks for entries with > port 119, and reported zero found. > I think this should be a bug. I'm using Gnus from git: > "Ma Gnus v0.4" Maybe the following patch will make it work. Er, but I don't know whether it's right to add "nntps" and "snews"... --=-=-= Content-Type: text/x-patch Content-Disposition: inline --- nntp.el~ 2012-02-15 09:22:23.734375000 +0000 +++ nntp.el 2012-02-23 11:02:16.234375000 +0000 @@ -1197,7 +1197,8 @@ (nth 0 (auth-source-search :max 1 :host (list nntp-address (nnoo-current-server 'nntp)) - :port '("119" "nntp")))) + :port '("119" "nntp" + "563" "nntps" "snews")))) (auth-user (plist-get auth-info :user)) (auth-force (plist-get auth-info :force)) (auth-passwd (plist-get auth-info :secret)) --=-=-=--