From: Tommy Kelly <tommy.kelly@verilab.com>
To: ding@gnus.org
Subject: nnimap and multiple accounts on the same server
Date: Fri, 19 Nov 2010 23:30:55 -0600 [thread overview]
Message-ID: <m2zkt4a7e8.fsf_-_@verilab.com> (raw)
In-Reply-To: <87vd3tnz6v.fsf@keller.adm.naquadah.org>
I have a personal gmail account and one under Google Apps. I'd like to
read both with nnimap in Gnus. There's a heap of advice on this on
google but nothing I can get to work sensibly. What I have at the moment
is the simplest setup involving both my .gnus and .authinfo:
In my .gnus:
(setq gnus-secondary-select-methods
'(
(nnimap "work"
(nnimap-stream ssl)
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
)
(nnimap "personal"
(nnimap-stream ssl)
(nnimap-address "imap.gmail.com")
(nnimap-server-port 993)
)
)
)
And in my .authinfo:
machine work login me@mydomain.com password my_gapps_password port 993
machine personal login me@gmail.com password my_gmail_password port 993
That's based on my reading[1] that the current authentication mechanism
allows the machines to be described in .authinfo using the identifier
(in my case "work" or "personal") instead of the actual server itself
(in my case "imap.gmail.com").
HOWEVER, the above doesn't work. When I run gnus it acts as if it cannot
find the authentication info and prompts me for logins and passwords. If
I provide them, I get access to the two accounts just fine. But I'd like
to have it authenticate automatically.
I know the authentication works if I replace "work" or "personal" with
"imap.gmail.com" but of course then I can't have the two separate
accounts since they're both on the same server.
Any help appreciated.
thanks,
Tommy
[1] e.g. here http://josefsson.org/nnimap/nnimap.html#SEC29
next prev parent reply other threads:[~2010-11-20 5:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-18 23:50 gravatar position Katsumi Yamaoka
2010-11-19 0:02 ` Katsumi Yamaoka
2010-11-19 14:52 ` Julien Danjou
2010-11-20 5:30 ` Tommy Kelly [this message]
2010-11-20 15:05 ` nnimap and multiple accounts on the same server Steinar Bang
2010-11-21 16:29 ` Tommy Kelly
2010-11-20 17:23 ` Tassilo Horn
2010-11-21 1:35 ` Tommy Kelly
2010-11-21 12:33 ` Tassilo Horn
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=m2zkt4a7e8.fsf_-_@verilab.com \
--to=tommy.kelly@verilab.com \
--cc=ding@gnus.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.
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).