Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de>
To: info-gnus-english@gnu.org
Subject: Re: Using different client certificates with multiple IMAP servers
Date: Sat, 08 May 2010 10:31:41 +0200	[thread overview]
Message-ID: <gifx22pzf6.fsf@mx10.gouders.net> (raw)
In-Reply-To: <82hbmjkklk.fsf@stephe-leake.org>

Stephen Leake <stephen_leake@stephe-leake.org> writes:

> Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de> writes:
>
>> I want to connect to multiple IMAP servers and present appropriate
>> client certificates to the different servers.
>>
>> For just one server, I can set the appropriate parameters in
>> imap-ssl-program, but I cannot find documentation on how to do that
>> for multiple servers.
>>
>> Is there a way to do what I want or do I need to use multiple instances
>> of gnus?
>
> That's what mail-sources is for; what have you tried?

I tried to specify the different servers via
gnus-secondary-select-methods, e.g.:

(setq gnus-secondary-select-methods
      '(
	(nnimap "imap1"
		(nnimap-address "imap1.net")
		(nnimap-server-port 993)
		(nnimap-authinfo-file "~/.imap_auth")
		(nnimap-stream ssl))
        (nnimap "imap2"
                (nnimap-address "imap2.net")
                (nnimap-server-port 993)
		(nnimap-authinfo-file "~/.imap_auth")
                (nnimap-stream ssl))
	))

But I did not know how to specify which client certificate to use for the
different servers.  I did not try mail-sources but will do that next,
thanks for the hint.

Dirk

      reply	other threads:[~2010-05-08  8:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-07 11:22 Dirk Gouders
2010-05-08  5:50 ` Stephen Leake
2010-05-08  8:31   ` Dirk Gouders [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=gifx22pzf6.fsf@mx10.gouders.net \
    --to=gouders@et.bocholt.fh-gelsenkirchen.de \
    --cc=info-gnus-english@gnu.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).