help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Gnus not using authinfo


From: Joel James Adamson
Subject: Gnus not using authinfo
Date: Tue, 08 Mar 2011 14:26:58 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hello,

Yesterday I downgraded from Emacs from bzr revno 103224 ("Emacs 24") to

GNU Emacs 23.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.21.4) of 2010-07-08 
on x86-10.phx2.fedoraproject.org

i.e. the Fedora 14 version.  I connect to an imap server and use
~/.authinfo.gpg as an auth source.  With Emacs 24 Gnus would read my
~/.authinfo.gpg file and connect only by asking for my GPG passphrase,
i.e. it would not prompt me for the imap server username and password.
As of the downgrade Gnus asks me for the passphrase to unlock
~/.authinfo.gpg, and then asks me for the username for the imap server,
followed by prompting for the password.  I made no other changes.

Here's my .gnus.el:

(setq gnus-select-method '(nntp "news.gwene.org"))
(setq imap-default-user "adamsonj")
;; gnus customization file
(setq gnus-secondary-select-methods
      '((nnimap "UNC"
                (nnimap-address "imap.unc.edu")
                (nnimap-stream starttls)
                (nnimap-server-port 143))))

(setq gnus-message-archive-method (car gnus-secondary-select-methods))
(setq gnus-message-archive-group "nnimap+UNC:INBOX.Sent")
(setq gnus-gcc-mark-as-read t)

Why is Gnus prompting for the username and password?  What changes do I
need to make to get the desired behavior back?

Additional notes: I get the same behavior loading emacs -q and then
loading .gnus.el with M-x load-file.  I also get the same prompting
behavior on Emacs 23.2.1 on Crunchbang (i.e. debian) GNU/Linux.

Thanks,

Joel

-- 
Joel J. Adamson
Servedio Lab
University of North Carolina at Chapel Hill

FSF Member #8164
http://www.unc.edu/~adamsonj

Attachment: pgpfU4D9K6n27.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]