Gnus development mailing list
 help / color / mirror / Atom feed
* accessing nnimap folders through SSH?
@ 2000-05-01 20:41 Steinar Bang
  2000-05-01 21:00 ` Chris Brierley
  2000-05-01 21:20 ` Simon Josefsson
  0 siblings, 2 replies; 3+ messages in thread
From: Steinar Bang @ 2000-05-01 20:41 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: accessing nnimap folders through SSH?
  2000-05-01 20:41 accessing nnimap folders through SSH? Steinar Bang
@ 2000-05-01 21:00 ` Chris Brierley
  2000-05-01 21:20 ` Simon Josefsson
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Brierley @ 2000-05-01 21:00 UTC (permalink / raw)


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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: accessing nnimap folders through SSH?
  2000-05-01 20:41 accessing nnimap folders through SSH? Steinar Bang
  2000-05-01 21:00 ` Chris Brierley
@ 2000-05-01 21:20 ` Simon Josefsson
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Josefsson @ 2000-05-01 21:20 UTC (permalink / raw)
  Cc: ding

Steinar Bang <sb@metis.no> writes:

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

Sure, just set up the ssh tunnel¹ (in `gnus-startup-hook'?) and point
nnimap at localhost:4711 (or whatever).

[1] ssh -L 4711:localhost:143 my.mail.server.org



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-05-01 21:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-01 20:41 accessing nnimap folders through SSH? Steinar Bang
2000-05-01 21:00 ` Chris Brierley
2000-05-01 21:20 ` Simon Josefsson

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).