unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Gnus not using authinfo
@ 2011-03-08 19:26 Joel James Adamson
  0 siblings, 0 replies; 6+ messages in thread
From: Joel James Adamson @ 2011-03-08 19:26 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]

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 #2: Type: application/pgp-signature, Size: 229 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-09 19:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.21.1299629176.21372.help-gnu-emacs@gnu.org>
2011-03-09 15:17 ` Gnus not using authinfo Ted Zlatanov
2011-03-09 17:58   ` Joel J. Adamson
2011-03-09 18:51     ` Joel James Adamson
     [not found]     ` <mailman.1.1299696694.13037.help-gnu-emacs@gnu.org>
2011-03-09 19:28       ` Ted Zlatanov
2011-03-09 19:46         ` Joel James Adamson
2011-03-08 19:26 Joel James Adamson

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 read-only IMAP folder(s) and NNTP newsgroup(s).