Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: wgreenhouse-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org (W. Greenhouse)
To: info-gnus-english-mXXj517/zsQ@public.gmane.org
Subject: Re: gnus doesn't use nnimap-authinfo-file
Date: Wed, 29 May 2013 02:37:57 +0000	[thread overview]
Message-ID: <87sj16o6ii.fsf@riseup.net> (raw)
In-Reply-To: <87ehcqc2t2.fsf@yandex.ru>

Hi,

Shnippelson <Shnippelson-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org> writes:

> Hi
>
> I'm trying to set up gnus but without success.
> It is seems to me that gnus doesn't use "nnimap-authinfo-file".
> I have the following lines in gnus-init: 
>
> (setq gnus-secondary-select-methods '(
>    (nnimap "Work"
>    (nnimap-address "mail.work.ru")
>    (nnimap-authinfo-file "/home/shnip/.emacs.d/gnus/.authinfo")
>    (nnimap-stream ssl)
>    (nnimap-server-port 993))))
>
> But gnus reads information from file ~/.authinfo. I can check it by
> deleting the file.

Current Gnus doesn't have this variable.

--8<---------------cut here---------------start------------->8---
(gnus-version)
"Gnus v5.13"

(require 'nnimap)
(boundp 'nnimap-authinfo-file)
nil
--8<---------------cut here---------------end--------------->8---

Instead, you can customize the variable `auth-sources', which can be
multiple files, possibly GPG-encrypted. 

See (info "(auth) Help for users") for more advice.

-- 
BOFH excuse #387:

Your computer's union contract is set to expire at midnight.

      reply	other threads:[~2013-05-29  2:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-28 19:38 Shnippelson
2013-05-29  2:37 ` W. Greenhouse [this message]

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=87sj16o6ii.fsf@riseup.net \
    --to=wgreenhouse-sgozh3hwpm2stnjn9+bgxg@public.gmane.org \
    --cc=info-gnus-english-mXXj517/zsQ@public.gmane.org \
    /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).