From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14211 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: feedback on AUTHINFO in qgnus-0.27 Date: 21 Feb 1998 01:14:03 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: <199802202326.SAA21370@alderaan.gsfc.nasa.gov> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035153440 13558 80.91.224.250 (20 Oct 2002 22:37:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:37:20 +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 RAA25000 for ; Fri, 20 Feb 1998 17:00:19 -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 SAA18184 for ; Fri, 20 Feb 1998 18:58:26 -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 SAH11442; Fri, 20 Feb 1998 18:58:26 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 20 Feb 1998 18:57:29 -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 SAA11425 for ; Fri, 20 Feb 1998 18:57:21 -0600 (CST) Original-Received: (qmail 22528 invoked by uid 504); 21 Feb 1998 00:57:14 -0000 Original-Received: (qmail 22525 invoked from network); 21 Feb 1998 00:57:13 -0000 Original-Received: from xyplex05.uio.no (HELO sparky.gnus.org) (129.240.154.25) by claymore.vcinet.com with SMTP; 21 Feb 1998 00:57:12 -0000 Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id CAA29161; Sat, 21 Feb 1998 02:01:23 +0100 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: "Edward J. Sabol"'s message of "Fri, 20 Feb 1998 18:26:59 -0500" X-Mailer: Quassia Gnus v0.31/Emacs 19.34 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > Since the "macdef" comes after "machine news.foobar.com", it only applies to > that host and not to any other. That's completely consistent with the way FTP > parses the ~/.netrc file and uses the "init" macro (and any others you define > for a given host). Ok. > In other words, the macros are defined on a per-host > basis. To answer your question specifically, here is how you do it: > > -~/.authinfo------ > machine news.foobar.com login baz password xyzzy > macdef nntp_init > force authinfo > This is certainly workable, and would provide compatibility with .netrc files. But it is rather obscure. Is compatibility with .netrc files all that important? How about if we just add a "force" token? machine news.foobar.com login baz password xyzzy force yes -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen