[Users] configuring IMAP over SSH tunnel

Andrej Kacian andrej at kacian.sk
Thu Jun 5 15:30:59 CEST 2014


On Thu, 5 Jun 2014 15:21:43 +0200
Andreas Fink <finkandreas at web.de> wrote:

> According to this website in german http://www.wgmd.de/wordpress/?cat=6
> you have to use as command:
> ssh -q PUBLIC_SERVER nc IMAP_SERVER 143

This is obsolete. Modern openssh client now has -W option to forward stdin to
desired host:port, like so: "ssh -q -W IMAP_SERVER:143 PUBLIC_SERVER". No need
to have netcat anymore. :)

-- 
Andrej Kacian



More information about the Users mailing list