Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Setting up email with IMAP
@ 2008-01-22 21:26 Yevgeniy Makarov
  2008-01-22 22:00 ` David Z Maze
  0 siblings, 1 reply; 2+ messages in thread
From: Yevgeniy Makarov @ 2008-01-22 21:26 UTC (permalink / raw)
  To: info-gnus-english

Hi,

I have a basic question. I want to have email via IMAP. I have the
following in my ~/.gnu.el file:

(setq gnus-secondary-select-methods
  '((nnimap "Work"
            (nnimap-address "mail.cems.uvm.edu")
	    (nnimap-list-pattern ("INBOX" "mail/*"))
            (nnimap-server-port 143))))

When I start Gnus, I am asked for the username and password, which are
accepted. After that, I get the following list of groups:

    1100: news.announce.newusers(m)
    4483: news.groups.questions
   30300: gnu.emacs.gnus
       9: nndoc+gnus-help:gnus-help
       *: nndraft:queue
       *: nndraft:drafts

So where is my mail? I tried using "/var/spool/mail/username" instead
of "INBOX" and some other variants without success. When I hit U in
the groups buffer and then TAB toi show all possible groups, I see
only real Usenet groups, like 0020.lang.scheme, a.a.mis.admin,
a.a.mis.dedicated, a.a.mis.pittsburgh, etc, but no INBOX and no my
username.

Unfortunately, I cannot log in into my IMAP server using SSH to make
sure the name of my mailbox is INBOX. Do I miss something or do I
otherwise do things right?

Thanks,
Evgeny

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setting up email with IMAP
  2008-01-22 21:26 Setting up email with IMAP Yevgeniy Makarov
@ 2008-01-22 22:00 ` David Z Maze
  0 siblings, 0 replies; 2+ messages in thread
From: David Z Maze @ 2008-01-22 22:00 UTC (permalink / raw)
  To: info-gnus-english

Yevgeniy Makarov <emakarov@gmail.com> writes:

> I have a basic question. I want to have email via IMAP. I have the
> following in my ~/.gnu.el file:

~/.gnus (or ~/.gnus.el), yes?

> (setq gnus-secondary-select-methods
>   '((nnimap "Work"
>             (nnimap-address "mail.cems.uvm.edu")
> 	    (nnimap-list-pattern ("INBOX" "mail/*"))
>             (nnimap-server-port 143))))

Do you specifically need to set nnimap-list-pattern?  It looks like its
default value of "*" will find all groups.  You can probably get away
without setting nnimap-server-port too.

> When I start Gnus, I am asked for the username and password, which are
> accepted. After that, I get the following list of groups:
(which doesn't include nnimap+Work groups)

> So where is my mail? [...] When I hit U in
> the groups buffer and then TAB toi show all possible groups, I see
> only real Usenet groups, like 0020.lang.scheme, a.a.mis.admin,
> a.a.mis.dedicated, a.a.mis.pittsburgh, etc, but no INBOX and no my
> username.

If you press "^" from the group buffer, the resulting server buffer
should include an {nnimap:Work} line, and if you press RET on that, you
should see a list of groups that you can individually subscribe to with
'u'.  "U" from the group buffer should probably work too, but as you've
described your configuration all of your mail groups will have names
like nnimap+Work:INBOX.

You also might want to add nnimap groups to gnus-auto-subscribed-groups,
on the off chance that you create new IMAP folders.

  --dzm

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-22 22:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-22 21:26 Setting up email with IMAP Yevgeniy Makarov
2008-01-22 22:00 ` David Z Maze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).