Re: Need help on setting multiple gmail imap account
Eric thegrea...@gmail.com writes: (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 at gmail.com password mypass1 port 993 force yes machine name2 login email2 at 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. Use a different authinfo file for each of the two accounts: (add-to-list 'gnus-secondary-select-methods '(nnimap name1 (nnimap-authinfo-file ~/name1.authinfo) (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-authinfo-file ~/name2.authinfo) (nnimap-address imap.gmail.com) (nnimap-server-port 993) (nnimap-stream ssl))) The contents of the authinfo files are then ~/name1.authinfo: machine imap.gmail.com login email1 at gmail.com password mypass1 port 993 force yes ~/name2.authinfo: machine imap.gmail.com login email2 at gmail.com password mypass2 port 993 force yes ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Need help on setting multiple gmail imap account
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 The same solution is posted here https://lists.gnu.org/archive/html/info-gnus-english/2008-04/msg00088.html But all looks to be outdated. My trial 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 at gmail.com password mypass1 port 993 force yes machine name2 login email2 at 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 ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english
Re: Need help on setting multiple gmail imap account
Eric writes: Does anyone has a working setup with the server aliasing approach? This works for me: ,[ ~/.gnus ] | | (setq gnus-secondary-select-methods '((nnimap gmail (nnimap-address imap.gmail.com)) | (nnimap gmail2(nnimap-address imap.gmail.com | ` ,[ ~/.authinfo ] | | machine gmail login acco...@gmail.com password accountpassword port imap | machine gmail2 login accou...@gmail.com password account2password port imap | ` What happens when you try? Do you get any errors in the *Messages* buffer? What does C-h v gnus-secondary-select-methods RET say? Best regards, Adam -- Some angel whoreAdam Sjøgren Who can learn a guitar licka...@koldfront.dk Hey, that's what I call msic ___ info-gnus-english mailing list info-gnus-english@gnu.org https://lists.gnu.org/mailman/listinfo/info-gnus-english