Gnus development mailing list
 help / color / mirror / Atom feed
From: Alberto Luaces <aluaces@udc.es>
To: ding@gnus.org
Subject: Re: Multiple servers in gnus-select-method?
Date: Thu, 09 Dec 2010 09:23:04 +0100	[thread overview]
Message-ID: <87wrnjl5hz.fsf@eps142.cdf.udc.es> (raw)
In-Reply-To: <871v5ttf3z.fsf@gmx.co.uk>

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




      reply	other threads:[~2010-12-09  8:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-07 22:03 Johnny
2010-12-09  8:23 ` Alberto Luaces [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrnjl5hz.fsf@eps142.cdf.udc.es \
    --to=aluaces@udc.es \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).