From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/11917 Path: main.gmane.org!not-for-mail From: Jason R Mastaler Newsgroups: gmane.emacs.gnus.general Subject: Re: Authentication? Date: 17 Aug 1997 13:47:28 -0600 Message-ID: References: <55k9hklldt.fsf@huffamoose.im.med.umich.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035151548 785 80.91.224.250 (20 Oct 2002 22:05:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:05:48 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.6/8.8.6) with ESMTP id PAA10786 for ; Sun, 17 Aug 1997 15:21:31 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with SMTP id RAA25624 for ; Sun, 17 Aug 1997 17:16:48 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Sun, 17 Aug 1997 21:49:45 +0200 Original-Received: (qmail 20582 invoked by uid 504); 17 Aug 1997 19:49:44 -0000 Original-Received: (qmail 20579 invoked from network); 17 Aug 1997 19:49:44 -0000 Original-Received: from brickbat8.mindspring.com (207.69.200.11) by claymore.vcinet.com with SMTP; 17 Aug 1997 19:49:44 -0000 Original-Received: from ashanti.mastaler.com (ip155.albuquerque.nm.pub-ip.psi.net [38.11.185.155]) by brickbat8.mindspring.com (8.8.5/8.8.5) with ESMTP id PAA27124; Sun, 17 Aug 1997 15:49:37 -0400 (EDT) Original-Received: (from jason@localhost) by ashanti.mastaler.com (8.8.5/8.8.5) id NAA10356; Sun, 17 Aug 1997 13:47:30 -0600 (MDT) Original-To: ding@gnus.org, Kevin Cheek In-Reply-To: Kevin Cheek's message of "17 Aug 1997 14:22:54 -0400" Original-Lines: 36 X-Mailer: Gnus v5.4.65/XEmacs 20.2 Xref: main.gmane.org gmane.emacs.gnus.general:11917 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:11917 I have the same situation here. I added this function (Darrell Fuhriman's) to my .gnus and it's working fine. Make sure to replace "relay" with the hostname of your nntp server. ------ (add-hook 'nntp-server-opened-hook (lambda () (cond ((string-match "relay" nntp-address) (nntp-send-nosy-authinfo-from-file)) (t )))) (defun nntp-send-nosy-authinfo-from-file () "Send the AUTHINFO to the nntp server, including username and password This function is supposed to be called from `nntp-server-opened-hook'." (when (file-exists-p "~/.nntp-authinfo") (nnheader-temp-write nil (insert-file-contents "~/.nntp-authinfo") (goto-char (point-min)) (nntp-send-command "^.*\r?\n" "AUTHINFO USER" (buffer-substring (point) (progn (end-of-line) (point)))) (goto-line 2) (nntp-send-command "^.*\r?\n" "AUTHINFO PASS" (buffer-substring (point) (progn (end-of-line) (point))))))) ------ Also create a file called ".nntp-auth info" and put the username on the first line and the password on the second line. This should be all you need. BTW, a function like the one I included will probably be included with Quassia Gnus. Jason R. Mastaler jason@mastaler.com