Gnus development mailing list
 help / color / mirror / Atom feed
* Need help on setting multiple gmail imap account
@ 2014-12-29  1:27 Eric
  2014-12-29  9:11 ` Adam Sjøgren
  0 siblings, 1 reply; 6+ messages in thread
From: Eric @ 2014-12-29  1:27 UTC (permalink / raw)
  To: ding

Hi,
I am using emacs 24.4. Following this instruction:
http://superuser.com/questions/86798/multiple-email-accounts-from-the-same-server-in-emacs-gnus

I have two account, my setup is like this:

(add-to-list 'gnus-secondary-select-methods
	     '(nnimap "name1"
                      (nnimap-address "imap.gmail.com")
                      (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 "imap.gmail.com")
                     (nnimap-server-port 993)
                     (nnimap-stream ssl)))

the authinfo file has:
machine name1 login email1@gmail.com password mypass1 port 993 force yes
machine name2 login email2@gmail.com 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.
Eric





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

end of thread, other threads:[~2015-02-05 15:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-29  1:27 Need help on setting multiple gmail imap account Eric
2014-12-29  9:11 ` Adam Sjøgren
2015-02-04 11:46   ` Ted Zlatanov
2015-02-05  3:13     ` Lars Ingebrigtsen
2015-02-05 10:52       ` Ted Zlatanov
2015-02-05 15:51     ` Adam Sjøgren

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).