From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14128 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: feedback on AUTHINFO in qgnus-0.27 Date: 17 Feb 1998 08:48:47 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035153372 13113 80.91.224.250 (20 Oct 2002 22:36:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:36:12 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id XAA04481 for ; Mon, 16 Feb 1998 23:52:32 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id BAA19015 for ; Tue, 17 Feb 1998 01:50:57 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id BAJ18753; Tue, 17 Feb 1998 01:50:31 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 17 Feb 1998 01:49:39 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id BAA18737 for ; Tue, 17 Feb 1998 01:49:31 -0600 (CST) Original-Received: (qmail 2197 invoked by uid 504); 17 Feb 1998 07:49:25 -0000 Original-Received: (qmail 2194 invoked from network); 17 Feb 1998 07:49:23 -0000 Original-Received: from norne.oslo.metis.no (195.0.254.238) by claymore.vcinet.com with SMTP; 17 Feb 1998 07:49:23 -0000 Original-Received: by norne.oslo.metis.no (8.8.4/8.8.4) id IAA10090; Tue, 17 Feb 1998 08:48:47 +0100 (MET) Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "16 Feb 1998 19:58:26 +0100" Original-Lines: 24 X-Mailer: Quassia Gnus v0.27/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14128 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14128 >>>>> Lars Magne Ingebrigtsen : > Steinar Bang writes: >> I've tried the current version (0.27) that uses ~/.netrc in >> nntp-send-authinfo, and we need a syntax for excluding machines from >> password sending. Either we don't send authinfo to machines not found >> in the ~/.netrc or ~/.authinforc (or whatever) file or we put in >> machine names without any password or user name. > The new approach is to only send authinfo when challenged. You mean, even if I hadn't put nntp-send-authinfo into nntp-server-opened-hook, it would have looked for authinfo in the .netrc file, if challenged? > If you want to force sending authinfo for some servers, you should > put the authinfo function into the server-opened hook for those > servers. How do I do that? Create a function that tests the server name before running nntp-send-authinfo, and put this function into the hook? (seems clumsy) Or is there a simpler way?