From owner-freebsd-questions Mon Jan 28 11:56: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from foo31-249.visit.se (foo31-146.visit.se [62.119.31.146]) by hub.freebsd.org (Postfix) with ESMTP id E554E37B417 for ; Mon, 28 Jan 2002 11:56:02 -0800 (PST) Received: (from martin@localhost) by foo31-249.visit.se (8.11.6/8.11.6) id g0SJtdu02140 for freebsd-questions@freebsd.org; Mon, 28 Jan 2002 20:55:39 +0100 (CET) (envelope-from martin) Date: Mon, 28 Jan 2002 20:55:34 +0100 From: Martin Karlsson To: freebsd-questions@freebsd.org Subject: fetchmail in -d mode + ssh-tunnel? Message-ID: <20020128195533.GD1708@foo31-249.visit.se> Mail-Followup-To: Martin Karlsson , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.3.27i X-Editor: Vim http://www.vim.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message