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)

address@hidden writes:

> Wang Lei <address@hidden> writes:
>
>> Mario Castelán Castro <address@hidden> 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 "address@hidden"
>>                :password "secret"
>>                :authentication 'login
>>                :stream ssl
>>                :fetchflag "\\Seen")
>>              (imap :server "imap.gmail.com"
>>                     :port 993
>>                     :user "address@hidden"
>>                :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 "address@hidden"
>                     :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: address@hidden ---


reply via email to

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