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

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

Re: Help with Gnus and Gmail


From: galen_boyer
Subject: Re: Help with Gnus and Gmail
Date: Sat, 26 Dec 2009 01:48:51 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt)

galen_boyer@yahoo.com writes:

> Wang Lei <f3d27b@gmail.com> writes:
>
>> Mario Castelán Castro <mariocastelancastro@gmail.com> writes:
>>
>
> [...]
>
>>
>> (setq gnus-select-method '(nnml ""))
>>
>> I use the nnml as the backend. This is part of my config, hope useful.
>>
>> (setq gnus-select-method '(nnml ""))
>> (setq mail-sources '((imap :server "imap.gmail.com"
>>                :port 993
>>                :user "xxx@gmail.com"
>>                :password "secret"
>>                :authentication 'login
>>                :stream ssl
>>                :fetchflag "\\Seen")
>>              (imap :server "imap.gmail.com"
>>                     :port 993
>>                     :user "yyy@gmail.com"
>>                :password "secret"
>>                :authentication 'login
>>                     :stream ssl
>>                     :fetchflag "\\Seen")))
>
> I followed this advice.
>
> I put my login info only into the .gnus.el (username and password changed)
>
>      (setq gnus-select-method '(nnml ""))
>      (setq mail-sources '((imap :server "imap.gmail.com"
>                     :port 993
>                     :user "myusername@gmail.com"
>                     :password "secret"
>                     :authentication 'login
>                     :stream ssl)))

[...]

The emacs wiki has a nice write-up that solved it for me.
http://www.emacswiki.org/emacs/GnusGmail

Here is my .gnus.el entry now:

(setq gnus-select-method '(nntp "freenews.netfront.net"))
(add-to-list 'gnus-secondary-select-methods 
             '(nnimap "gmail"
                      (nnimap-address "imap.gmail.com")
                      (nnimap-server-port 993)
                      (nnimap-stream ssl)))

I used the .authinfo file for username/password.  This was nicely laid
out in the wiki as well.

The last thing was the the Sent Mail and other folders weren't visible
until the default setting for gnus-ignored-newsgroups was modified, as
the wiki said as well.

(setq gnus-ignored-newsgroups "^to\\.\\|^[0-9. ]+\\(\\|$\\)\\|^[\"]\"[#'()]")

-- 
Galen Boyer

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---


reply via email to

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