Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Gnus ignoring ~/.authinfo for gmail
@ 2008-06-24  7:56 David Arroyo
  2008-06-24 15:13 ` Richard G Riley
  0 siblings, 1 reply; 3+ messages in thread
From: David Arroyo @ 2008-06-24  7:56 UTC (permalink / raw)
  To: info-gnus-english


For whatever reason, gnus has been very temperamental with regards to
gmail's imap. In my ~/.gnus.el I have

(add-to-list 'gnus-secondary-select-methods
	     '(nnimap "gmail"
	       (nnimap-address "imap.gmail.com")
	       (nnimap-authinfo-file "~/.authinfo")
	       (nnimap-stream ssl)))

and in ~/.authinfo
machine imap.gmail.com login e-mail@gmail.com password psswd port 993

It's chmodded to 600, and yet, every time I start gnus it asks for my
username and password. Sometimes it even asks twice!

More troubling, at random times when I try to access my gmail inbox, I
get the error, Wrong type argument: stringp, nil from the function
nnimap-verify-uidvalidity. When this happens I curse a little, try
renaming .newsrc.eld, which doesn't work, and end up waiting until, for
no apparent reason, it starts working again. It makes me wonder if emacs
really is run by tiny men inside my computer, I'm so baffled.

Does anybody have an idea where I should look to fix this problem?
-- 

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

* Re: Gnus ignoring ~/.authinfo for gmail
  2008-06-24  7:56 Gnus ignoring ~/.authinfo for gmail David Arroyo
@ 2008-06-24 15:13 ` Richard G Riley
  2008-06-25 20:15   ` David Arroyo
  0 siblings, 1 reply; 3+ messages in thread
From: Richard G Riley @ 2008-06-24 15:13 UTC (permalink / raw)
  To: info-gnus-english

David Arroyo <david.a.arroyo@gmail.com> writes:

> For whatever reason, gnus has been very temperamental with regards to
> gmail's imap. In my ~/.gnus.el I have
>
> (add-to-list 'gnus-secondary-select-methods
> 	     '(nnimap "gmail"
> 	       (nnimap-address "imap.gmail.com")
> 	       (nnimap-authinfo-file "~/.authinfo")
> 	       (nnimap-stream ssl)))
>

Did you try specifying the port as part of the select method?

http://asimakov.blogspot.com/2007/11/imap-gnus-gmailcom.html

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

* Re: Gnus ignoring ~/.authinfo for gmail
  2008-06-24 15:13 ` Richard G Riley
@ 2008-06-25 20:15   ` David Arroyo
  0 siblings, 0 replies; 3+ messages in thread
From: David Arroyo @ 2008-06-25 20:15 UTC (permalink / raw)
  To: info-gnus-english

Richard G Riley <rileyrgdev@gmail.com> writes:
> David Arroyo <david.a.arroyo@gmail.com> writes:
>
>> For whatever reason, gnus has been very temperamental with regards to
>> gmail's imap. In my ~/.gnus.el I have
>>
>> (add-to-list 'gnus-secondary-select-methods
>> 	     '(nnimap "gmail"
>> 	       (nnimap-address "imap.gmail.com")
>> 	       (nnimap-authinfo-file "~/.authinfo")
>> 	       (nnimap-stream ssl)))
>>
>
> Did you try specifying the port as part of the select method?
>
> http://asimakov.blogspot.com/2007/11/imap-gnus-gmailcom.html
>

That worked! It's always the simplest things. Thanks a lot!

-David

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

end of thread, other threads:[~2008-06-25 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-24  7:56 Gnus ignoring ~/.authinfo for gmail David Arroyo
2008-06-24 15:13 ` Richard G Riley
2008-06-25 20:15   ` David Arroyo

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