[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to setup a nntp server that needs user and password?
From: |
Ted Zlatanov |
Subject: |
Re: How to setup a nntp server that needs user and password? |
Date: |
Thu, 24 Mar 2011 10:12:19 -0500 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
On Thu, 24 Mar 2011 17:35:02 +0800 Leo <sdl.web@gmail.com> wrote:
L> On 2011-03-24 16:29 +0800, David Kastrup wrote:
>> Put the required info into ~/.authinfo. Something like
>>
>> machine news.eternal-september.org login Leo password Supersecret force yes
L> Thanks, David, for this.
L> Oddly put it in .authinfo.gpg does not work.
Depending on your version of Gnus you may have auth-source.el
available. See if (info "auth") works; if it does you can follow those
instructions to get started.
Using `auth-sources' is much better than backend-specific variables like
`nntp-authinfo-file' because the same authinfo file will work for nntp,
nnimap, Tramp, and so on (most of Gnus and Emacs).
Ted