From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: galen_boyer@yahoo.com Newsgroups: gmane.emacs.help Subject: Re: Help with Gnus and Gmail Date: Sat, 26 Dec 2009 01:48:51 -0500 Organization: Netfront http://www.netfront.net/ Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1261845032 15082 80.91.229.12 (26 Dec 2009 16:30:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2009 16:30:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 26 17:30:25 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NOZX6-0002OB-VX for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Dec 2009 17:30:25 +0100 Original-Received: from localhost ([127.0.0.1]:56925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOZX7-0007Rp-6G for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Dec 2009 11:30:25 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!newsfeed.berkeley.edu!ucberkeley!newsgate.cuhk.edu.hk!news.netfront.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 69 Original-NNTP-Posting-Host: 76.19.173.140 Original-X-Trace: adenine.netfront.net 1261810140 50267 76.19.173.140 (26 Dec 2009 06:49:00 GMT) Original-X-Complaints-To: news@netfront.net Original-NNTP-Posting-Date: Sat, 26 Dec 2009 06:49:00 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt) Cancel-Lock: sha1:GtNyfo+WszKDLYd51pEjSJ0dSew= Original-Xref: news.stanford.edu gnu.emacs.help:175797 X-Mailman-Approved-At: Sat, 26 Dec 2009 11:27:44 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70877 Archived-At: galen_boyer@yahoo.com writes: > Wang Lei writes: > >> Mario Castelán Castro 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 ---