Multiple email accounts from the same server in Emacs Gnus

Posted by docgnome on Super User See other posts from Super User or by docgnome
Published on 2009-12-23T07:20:36Z Indexed on 2011/02/26 15:27 UTC
Read the original article Hit count: 285

Filed under:
|

I'm trying to set up Gnus to use both my gmail accounts but I can only ever get one at a time to show up in the list of folders.

(setq gnus-select-method '(nnimap "[email protected]"
                            (nnimap-address "secure.emailsrvr.com")
                            (nnimap-server-port 993)
                            (nnimap-stream ssl)))

(setq gnus-secondary-select-methods
      '((nnimap "[email protected]"
                (nnimap-address "imap.gmail.com")
                (nnimap-server-port 993)
                (nnimap-stream ssl))
        (nnimap "[email protected]"
                (nnimap-address "imap.gmail.com")
                (nnimap-server-port 993)
                (nnimap-stream ssl))))

That is the relevant portions of my .gnus file. It prompts me for three username passwords on startup. After I enter all three, I can access my work account and the gmail account that I enter the creds for second. This is really annoying! Any ideas?

© Super User or respective owner

Related posts about emacs

Related posts about gnus