From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74882 Path: news.gmane.org!not-for-mail From: Alberto Luaces Newsgroups: gmane.emacs.gnus.general Subject: Re: Multiple servers in gnus-select-method? Date: Thu, 09 Dec 2010 09:23:04 +0100 Message-ID: <87wrnjl5hz.fsf@eps142.cdf.udc.es> References: <871v5ttf3z.fsf@gmx.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291883096 28673 80.91.229.12 (9 Dec 2010 08:24:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 08:24:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23238@lists.math.uh.edu Thu Dec 09 09:24:53 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQbo0-00021A-Lr for ding-account@gmane.org; Thu, 09 Dec 2010 09:24:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PQbnD-0007HW-MM; Thu, 09 Dec 2010 02:23:59 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PQbnB-0007HF-7y for ding@lists.math.uh.edu; Thu, 09 Dec 2010 02:23:57 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PQbn9-0005bv-OD for ding@lists.math.uh.edu; Thu, 09 Dec 2010 02:23:57 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PQbn8-0008Ks-00 for ; Thu, 09 Dec 2010 09:23:54 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PQbn5-0001PQ-St for ding@gnus.org; Thu, 09 Dec 2010 09:23:51 +0100 Original-Received: from eps142.cdf.udc.es ([193.144.52.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Dec 2010 09:23:51 +0100 Original-Received: from aluaces by eps142.cdf.udc.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Dec 2010 09:23:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: eps142.cdf.udc.es User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:JwnIKzvVXhRe9x0X8i0EbOvL/qw= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74882 Archived-At: Johnny writes: > When I first set up gnus a few months ago I thought I would use it > primarily for mail and g**gled someone who recommended to in that case > use imap as gnus-select-method. Of course, I have by now stuffed a plethora > of different methods in gnus-secondary-select-methods. > > So, now I realise it would be great to also read my gmail in gnus and > want to add another imap server. How should I go about this? Is it > possible to add another server to gnus-select-method? Or should I put an > nntp as gnus-select-method and use imap as > gnus-secondary-select-methods? > > Now I use: > (setq gnus-select-method > '(nnimap "gmx" > (nnimap-address "imap.gmx.com") > (nnimap-server-port 993) > (nnimap-stream ssl))) > > And would like to add something like: > (setq gnus-select-method > '(nnimap "gmail" > (nnimap-address "imap.gmail.com") > (nnimap-server-port 993) > (nnimap-stream ssl))) > > Could this be done and if so, how? (the manual always uses a single > server as example, so maybe this is a bad idea?) Add the rest of the servers with (add-to-list 'gnus-secondary-select-methods '(nnimap "gmail".... -- Alberto