From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81476 Path: news.gmane.org!not-for-mail From: XeCycle Newsgroups: gmane.emacs.gnus.general Subject: Re: nntp-send-authinfo doesn't look at nntp-port-number Date: Thu, 23 Feb 2012 20:49:58 +0800 Message-ID: <871uplww7d.fsf@Gmail.com> References: <87ty2iqcjv.fsf@Gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1330001453 31208 80.91.229.3 (23 Feb 2012 12:50:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Feb 2012 12:50:53 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29756@lists.math.uh.edu Thu Feb 23 13:50:52 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 1S0Y8G-0001cw-Im for ding-account@gmane.org; Thu, 23 Feb 2012 13:50:48 +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 1S0Y7i-0004Gw-GC; Thu, 23 Feb 2012 06:50:14 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S0Y7h-0004Go-9N for ding@lists.math.uh.edu; Thu, 23 Feb 2012 06:50:13 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1S0Y7f-00054T-K5 for ding@lists.math.uh.edu; Thu, 23 Feb 2012 06:50:12 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S0Y7c-0005At-I1 for ding@gnus.org; Thu, 23 Feb 2012 13:50:08 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S0Y7c-000131-Cv for ding@gnus.org; Thu, 23 Feb 2012 13:50:08 +0100 Original-Received: from 59.78.37.25 ([59.78.37.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Feb 2012 13:50:08 +0100 Original-Received: from XeCycle by 59.78.37.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Feb 2012 13:50:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 59.78.37.25 User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:AIqGk3TF2G8Yaik4MwfonFGx4MY= X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1688--9060h-0s--0d--H*u:Emacs, 0.000-1442--7737h-0s--0d--H*u:Gnus, 0.000-1360--7298h-0s--0d--H*u:linux, 0.000-1360--7298h-0s--0d--H*UA:linux, 0.000-1326--7115h-0s--0d--H*u:gnu Spam tokens: 0.987-1--0h-1s--0d--H*RU:sk:1S0Y7c-, 0.987-1--0h-1s--0d--HX-Spam-Relays-External:sk:1S0Y7c-, 0.936-8513--5128h-76688s--0d--H*RU:quimby.gnus.org, 0.936-8513--5128h-76688s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.932-7846--5280h-73796s--0d--HTo:D*gnus.org Autolearn status: no 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (xecycle[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81476 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Katsumi Yamaoka writes: [...] > Maybe the following patch will make it work. Er, but I don't > know whether it's right to add "nntps" and "snews"... > > --- 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 'n= ntp)) > - :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)) Thanks for this, but is there no way to check the defined port number? That would be more robust. =2D-=20 Carl Lei (XeCycle) Department of Physics, Shanghai Jiao Tong University OpenPGP public key: 7795E591 Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJPRjX2AAoJEI1xjsR3leWRiQ8IAKyWUS5kCPfSejKHpnFPyWt5 SGSNaL4mVxZCgzBziDQfZDvTxQcaMOKrev9zGU6sTOKdEuwfK9q7ilLGBrZwhOVa vNua3CDe/1mxGsy0tdX+2bUByo5ebfg0lEP/ATd1nNxuuF8uLvLnBPrA+r/eGx6u aiFMoZ8ZgGIcH2GkpJzutsfHlCEJrmFNttP7ppTy+QRucXDGsPV18IPr+F8TUWlT xfFb/kyAz+TKkiiQ2NpeFdu7zlr3JzDy5O+pNr4oJgwmCon24tUsZWj2V2SKKJn5 UZQ6PT7nZDmPPSoUEaSsyncZeGaEb1X5EuSHCM/um1GKn7H36XHOmhhpCvtR0iA= =LP7A -----END PGP SIGNATURE----- --=-=-=--