Gnus development mailing list
 help / color / mirror / Atom feed
From: Andi Hechtbauer <anti@spin.de>
Cc: ding@gnus.org
Subject: Re: IMAP/SSL with gnus
Date: Mon, 12 Aug 2002 22:51:47 +0200	[thread overview]
Message-ID: <87n0rriyvw.fsf@pod.hq.spin.de> (raw)
In-Reply-To: <87bs87lxtr.fsf@pale.loc> (Alexander Kotelnikov's message of "Mon, 12 Aug 2002 22:46:24 +0400")

>>>>> Alexander Kotelnikov writes:
>>>>> On Thu, 08 Aug 2002 21:14:32 +0200
>>>>> "SJ" == Simon Josefsson <jas@extundo.com> wrote:
    SJ>
    >>>>> May be to switch to (nnimap-stream shell) with ssh, but it
    >>>>> do not work for me, may be some tweaking is needed.
    SJ>  SSH port forwarding can be recommended.
    >>>  Is there any working example of configuration?

    SJ>  Run this on your client
    SJ> ssh -L 1430:yourmailserver:143 yxa.extundo.com
    SJ> and then connect to port 1430 on localhost with Gnus.

    AK> Ah... this approach has some disadvantages: 1. One have to
    AK> establish ssh connection before starting gnus 2. gnus is too
    AK> smart and think it is plugged even if you put it into
    AK> unplugged, when you conncet to localhost

    AK> So the thing that I really would like to work is
    AK> (nnimap-stream shell) with ssh. Is it possible?

I think it depends on your imapd on the remote end.  It has to be run
"preauthenticated.  I used to use uw imapd, which has this ability,
but wouldn't know how to do it with cyrus, e.g. - but fortunately
cyrus knows imaps.


(setq imap-shell-program 
 '( "ssh -x -C imap.server.xy /usr/sbin/imapd" ))

and

(setq gnus-secondary-select-methods
      '(
 	(nnimap "imap1"
 		(nnimap-address "imap.server.xy")
 		(nnimap-stream shell)
 		(nnimap-list-pattern ("INBOX" "mail/*"))
 		)))

was all I had to do to make it work with uw imapd.

HTH,
Andi



  reply	other threads:[~2002-08-12 20:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-07 16:22 Alexander Kotelnikov
2002-08-07 16:34 ` Simon Josefsson
2002-08-07 22:47   ` Alexander Kotelnikov
2002-08-07 23:00     ` Simon Josefsson
2002-08-08 17:16       ` Alexander Kotelnikov
2002-08-08 17:53         ` Simon Josefsson
2002-08-08 18:03           ` Alexander Kotelnikov
2002-08-08 19:14             ` Simon Josefsson
2002-08-12 18:46               ` Alexander Kotelnikov
2002-08-12 20:51                 ` Andi Hechtbauer [this message]
2002-08-12 21:14                   ` Simon Josefsson
2002-08-12 21:13                 ` Simon Josefsson
2002-08-12 21:45                   ` Alexander Kotelnikov
2002-08-13  8:37                     ` Simon Josefsson

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=87n0rriyvw.fsf@pod.hq.spin.de \
    --to=anti@spin.de \
    --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).