[Top][All Lists]

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

Need help on setting multiple gmail imap account

From: Eric
Subject: Need help on setting multiple gmail imap account
Date: Mon, 29 Dec 2014 16:17:38 +0000 (UTC)
User-agent: Loom/3.14 (

I am using emacs 24.4. Following this instruction:
The same solution is posted here
But all looks to be outdated.
My trial setup is like this:

(add-to-list 'gnus-secondary-select-methods
             '(nnimap "name1"
                      (nnimap-address "")
                      (nnimap-server-port 993)
                      (nnimap-stream ssl)
                      (nnir-search-engine imap)
                      (nnmail-expiry-target "nnimap+gmail:[Gmail]/Trash")
                      (nnmail-expiry-wait 90))
             '(nnimap "name2"
                     (nnimap-address "")
                     (nnimap-server-port 993)
                     (nnimap-stream ssl)))

the authinfo file has:
machine name1 login email1 <at> password mypass1 port 993 force yes
machine name2 login email2 <at> password mypass2 port 993 force yes

but it doesn't work for me. There are several other solutions like this
online. Looks like gnus is trying to connect to name1 and name2 which is not
a real server name. It might be possible by editing the etc/host file.

Does anyone has a working setup with the server aliasing approach?
Thanks a lot.

reply via email to

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