info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multiple Gmail accounts + nnimap + ~/.authinfo


From: CHENG Gao
Subject: Re: multiple Gmail accounts + nnimap + ~/.authinfo
Date: Thu, 17 Apr 2008 17:10:33 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (darwin)

*On Thu, 17 Apr 2008 09:24:04 +0200
* Also sprach Suno Ano <suno.ano@googlemail.com>:

> Hi Ted, did someone else had an idea how to approach this issue? What
> are we/you going to do now? I can help coding (but not before June I am
> afraid ... /me lacks the time :-/)
>
> I think using nnimap with several gmail accounts is something quite a
> lot people might want to do ...

In your .gnus you can use LABELS for each account, and then in .authinfo
you use label instead of server address. Something like:

in .gnus:
,----
|         (nnimap "gmail-account-1"
|                       (nnimap-server-port 143)
|                       (nnimap-address "imap.gmail.com")
|                       (nnimap-list-pattern ("INBOX" "mail/*"))
|                       (nnimap-authinfo-file "~/.emacs.d/.authinfo"))
`----
(You can add multiple accounts)

then in .authinfo:

,----
| machine gmail-account-1 login account1@gmail.com password yourpass port 143
| machine gmail-account-2 login account2@gmail.com password yourpass port 143
`----

HTH,

CG





reply via email to

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