Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2002 20:55:34 +0100
From:      Martin Karlsson <martin.karlsson@visit.se>
To:        freebsd-questions@freebsd.org
Subject:   fetchmail in -d mode + ssh-tunnel?
Message-ID:  <20020128195533.GD1708@foo31-249.visit.se>

next in thread | raw e-mail | index | archive | help
Greetings.

I'm trying to fetch mail from my POP-account with fetchmail through
an ssh-tunnel, and it works; but _not_ in daemon-mode.

Is it at all possible, and if so, how do I go about doing it?
And are there better ways of doing this than what I've come up with
so far? (see below)

TIA

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
my .fetchmailrc:

#set daemon 30
poll mail.host.com
	proto imap
	user "user"
	preconnect "ssh  -N -f -L 11110:mail.host.com:110 \
        user@mail.host.com sleep 10 < /dev/null > /dev/null"
	pass "secret"
	is localuser
options
-- 
Martin Karlsson		<martin.karlsson at visit.se>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020128195533.GD1708>