Gnus development mailing list
 help / color / mirror / Atom feed
From: Chris Brierley <brierley@pobox.com>
Subject: Re: accessing nnimap folders through SSH?
Date: 01 May 2000 17:00:13 -0400	[thread overview]
Message-ID: <wk8zxuf0ki.fsf@pobox.com> (raw)
In-Reply-To: Steinar Bang's message of "01 May 2000 22:41:28 +0200"

On 2000-05-01, Steinar Bang <sb@metis.no> wrote:

> Is there a way of accessing nnimap folders through an SSH tunnel
> through a firewall?

It depends on your firewall, I guess, if it allows SSH through you
should be able to.  I access IMAP servers through SSH all the
time.  Here's my gnus-secondary-select-methods:

,-----
| (setq gnus-secondary-select-methods
|       '(
|         (nnml "spool")
|         (nnimap "personal"
|                 (nnimap-address "localhost")
|                 (nnimap-server-port 10143)
|                 (nnimap-list-pattern ("INBOX" "mail/*"))
|                 )
|         (nnimap "work"
|                 (nnimap-address "localhost")
|                 (nnimap-server-port 8143)
|                 (nnimap-list-pattern ("INBOX" "mail/*"))
|                 )
|         ))
`-----

And then I set up port forwards with SSH through those ports, ala:

    ssh -L10143:localhost:143 personal-server
    ssh -L8143:localhost:143 work-server

Hope that helps.




  reply	other threads:[~2000-05-01 21:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-01 20:41 Steinar Bang
2000-05-01 21:00 ` Chris Brierley [this message]
2000-05-01 21:20 ` 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=wk8zxuf0ki.fsf@pobox.com \
    --to=brierley@pobox.com \
    /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).