From f9b53030c81bdae78e0a1da362572358b0ba0d32 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 13 May 2000 22:14:57 +0000 Subject: Almost ready to ship. svn path=/trunk/; revision=2893 --- fetchmail-FAQ.html | 41 +++++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) (limited to 'fetchmail-FAQ.html') diff --git a/fetchmail-FAQ.html b/fetchmail-FAQ.html index 3afc8818..88011fb6 100644 --- a/fetchmail-FAQ.html +++ b/fetchmail-FAQ.html @@ -10,7 +10,7 @@
Back to Fetchmail Home Page To Site Map -$Date: 2000/05/13 21:59:36 $ +$Date: 2000/05/13 22:14:55 $

Frequently Asked Questions About Fetchmail

@@ -1648,12 +1648,12 @@ http://www.bieringer.de/linux/IPv6/IPv6-HOWTO/IPv6-HOWTO.html

K3. How can I get fetchmail to work with ssh?

-We have three recipes for this. The first is easy to set up, -but only supports one user at a time.

+We have four recipes for this.

Single-User POP3

-First, a lightly edited version of a recipe from Masafumi NAKANE:

+First, a lightly edited version of a recipe from Masafumi NAKANE. +This one is easy to set up, but only supports one user at a time.

1. You must have ssh (the ssh client) on the local host and sshd (ssh server) on the remote mail server. And you have to configure ssh so @@ -1757,7 +1757,7 @@ Now just use localhost:1234 to access your POP server.

Multi-User IMAP

-This is the preferred method. It comes to us from Joerg Dorchain. +This one comes comes to us from Joerg Dorchain. The basic idea is to set up a bidirectional encrypted socket connection:

@@ -1801,6 +1801,35 @@ The wrapper script should look like this:

exec ssh -i $HOME/.ssh/identity-imap $1 /usr/sbin/imapd

+

Netcat-based POP or IMAP tunnelling

+ +Oren Tirosh <oren@mimique.com> sends us a method of using +fetchmail over ssh without port forwarding, using the plugin keyword.

+ +First, set up a poll entry resembling thius one: + + +poll target.host plugin sshtunnel proto pop3 user foo password * + + +The important part is the "plugin sshtunnel". Now set up sshtunnel +as follows:

+ + +This is the sshtunnel script: +#!/bin/sh +ssh $1 "nc localhost $2" + + +Thia method uses netcat to connect to the pop3 port locally on the +target host and create a two-way channel over the ssh connection.

+ +Oren says: "In my experience it is much more reliable than the methods +described in your FAQ. ssh port forwarding often keeps the local port +bound for along timeout and has timing issues requiring tricks like +sleep, etc. I use this method for fetching all the mail for +mimique.com"

+


K4. What do I have to do to use the IMAP-GSS protocol?

@@ -2798,7 +2827,7 @@ terminate it.

Back to Fetchmail Home Page To Site Map -$Date: 2000/05/13 21:59:36 $ +$Date: 2000/05/13 22:14:55 $

Eric S. Raymond <esr@snark.thyrsus.com>
-- cgit v1.2.3