all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: galen_boyer@yahoo.com
To: help-gnu-emacs@gnu.org
Subject: Re: Help with Gnus and Gmail
Date: Sat, 26 Dec 2009 01:48:51 -0500	[thread overview]
Message-ID: <uws0adycs.fsf@L14009470.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: u8wcqxrb1.fsf@L14009470.i-did-not-set--mail-host-address--so-tickle-me

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	other threads:[~2009-12-26  6:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-10 17:40 Help with Gnus and Gmail Mario Castelán Castro
2009-10-12  6:22 ` Nevo
2009-10-12 10:23 ` Alberto Luaces
2009-10-12 12:51 ` Wang Lei
     [not found] ` <mailman.8594.1255351848.2239.help-gnu-emacs@gnu.org>
2009-12-26  5:00   ` galen_boyer
2009-12-26  6:48     ` galen_boyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uws0adycs.fsf@L14009470.i-did-not-set--mail-host-address--so-tickle-me \
    --to=galen_boyer@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.