Gnus ignoring ~/.authinfo for gmail
  Home FAQ Contact Sign in
gnu.emacs.gnus only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.gnus Profile…
 Up
Gnus ignoring ~/.authinfo for gmail         


Author: David Arroyo
Date: Jun 24, 2008 00:56

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?
--
2 Comments
Re: Gnus ignoring ~/.authinfo for gmail         


Author: Richard G Riley
Date: Jun 24, 2008 08:13

David 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
no comments
Re: Gnus ignoring ~/.authinfo for gmail         


Author: David Arroyo
Date: Jun 25, 2008 13:15

Richard G Riley gmail.com> writes:
> David 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
no comments