Gnus development mailing list
 help / color / mirror / Atom feed
From: "Edward J. Sabol" <sabol@alderaan.gsfc.nasa.gov>
Subject: Re: feedback on AUTHINFO in qgnus-0.27
Date: Fri, 20 Feb 1998 18:26:59 -0500	[thread overview]
Message-ID: <199802202326.SAA21370@alderaan.gsfc.nasa.gov> (raw)
In-Reply-To: <m3sopdzxcp.fsf@sparky.gnus.org> (message from Lars Magne Ingebrigtsen on 21 Feb 1998 00:10:30 +0100)

Excerpts from mail: (21-Feb-98) Re: feedback on AUTHINFO in qgnus-0.27 by Lars Magne Ingebrigtsen
"Edward J. Sabol" <sabol@alderaan.gsfc.nasa.gov> writes:
Ed> So instead of semantically overloading the username as
Ed> you suggested, we could define a macro which could be used as a flag to
Ed> determine whether to force authinfo or not. For example,
Ed> 
Ed> machine news.foobar.com login baz password xyzzy
Ed> macdef nntp_init
Ed> force authinfo

Lars> Well, how would the user specify that authinfo should be forced onto
Lars> server news.foobar.com and not news.barfoo.com?

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). 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

machine news.barfoo.com login zab password yzzyx
------------------

This method retains maximum compatibility with ~/.netrc to the point where
you can still use the same file for both (assuming usernames and passwords
are the same for NNTP and for login, of course). (If you implement this,
please note that multiple macros other than "nntp_init" may be defined for a
given host, but Gnus should only concern itself with the "nntp_init" macro.)

Later,
Ed


  reply	other threads:[~1998-02-20 23:26 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-13 18:51 AUTHINFO Lars Magne Ingebrigtsen
1998-02-14  6:55 ` AUTHINFO Jason R Mastaler
1998-02-14 16:01   ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-14 17:03     ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-14 19:23       ` AUTHINFO Jason R Mastaler
1998-02-14 19:31         ` AUTHINFO Hrvoje Niksic
1998-02-14 19:42           ` AUTHINFO Jason R Mastaler
1998-02-14 20:38             ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-14 23:30               ` AUTHINFO Jason R Mastaler
1998-02-15  5:28                 ` AUTHINFO Felix Lee
1998-02-15 13:32                 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-15 13:48                   ` AUTHINFO Simon Josefsson
1998-02-15 14:49                     ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-15 18:15                       ` AUTHINFO Simon Josefsson
1998-02-15 22:05                         ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-16 10:36                           ` AUTHINFO Per Abrahamsen
1998-02-16 10:46                             ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-16 11:25                               ` AUTHINFO Per Abrahamsen
1998-02-16 18:53                                 ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-19  2:21                                   ` AUTHINFO Joev Dubach
1998-02-19  4:55                                     ` AUTHINFO Lloyd Zusman
1998-02-19 14:16                                       ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-19 15:26                                   ` AUTHINFO Edward J. Sabol
1998-02-15 14:32                   ` AUTHINFO Hrvoje Niksic
1998-02-15 17:19                     ` AUTHINFO Lloyd Zusman
1998-02-15 17:29                       ` AUTHINFO Hrvoje Niksic
1998-02-15 19:58                         ` AUTHINFO Andy Eskilsson
1998-02-15 22:04                       ` AUTHINFO Lars Magne Ingebrigtsen
1998-02-15 19:34                     ` AUTHINFO Jason R Mastaler
1998-02-16  8:13                     ` AUTHINFO Steinar Bang
1998-02-15 19:23                   ` AUTHINFO Jason R Mastaler
1998-02-16 17:16                   ` AUTHINFO Justin Sheehy
1998-02-14 19:22     ` AUTHINFO Jason R Mastaler
1998-02-16 16:27     ` feedback on AUTHINFO in qgnus-0.27 Steinar Bang
1998-02-16 18:58       ` Lars Magne Ingebrigtsen
1998-02-17  7:48         ` Steinar Bang
1998-02-17  9:03           ` Steinar Bang
1998-02-18 12:15           ` Lars Magne Ingebrigtsen
1998-02-17  8:41         ` Steinar Bang
1998-02-17  8:49           ` Steinar Bang
1998-02-18 12:19             ` Lars Magne Ingebrigtsen
1998-02-18 16:44               ` Steinar Bang
1998-02-19 15:55             ` Edward J. Sabol
1998-02-20  2:31               ` Lars Magne Ingebrigtsen
1998-02-20  8:16                 ` Steinar Bang
1998-02-20 10:36                   ` Lars Magne Ingebrigtsen
1998-02-20 14:27                     ` Steinar Bang
1998-02-20 21:39                       ` Lars Magne Ingebrigtsen
1998-02-20 22:34                       ` Aaron M. Ucko
1998-02-20 21:28                 ` Edward J. Sabol
1998-02-20 23:10                   ` Lars Magne Ingebrigtsen
1998-02-20 23:26                     ` Edward J. Sabol [this message]
1998-02-21  0:14                       ` Lars Magne Ingebrigtsen
1998-02-23 18:06                         ` Edward J. Sabol
1998-02-27 11:56                           ` Lars Magne Ingebrigtsen
1998-02-27 15:58                             ` Edward J. Sabol
1998-02-28  5:45                               ` Lars Magne Ingebrigtsen
1998-03-04 19:38                               ` Hallvard B Furuseth
1998-02-28  4:27                             ` Jason R Mastaler
1998-02-28  5:48                               ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199802202326.SAA21370@alderaan.gsfc.nasa.gov \
    --to=sabol@alderaan.gsfc.nasa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).