From owner-freebsd-questions Sat Aug 5 2:58:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from stinky.trash.net (stinky.trash.net [195.141.182.42]) by hub.freebsd.org (Postfix) with ESMTP id 05C2337B579 for ; Sat, 5 Aug 2000 02:58:21 -0700 (PDT) (envelope-from thomasb@stinky.trash.net) Received: (from thomasb@localhost) by stinky.trash.net (8.10.1/8.10.1) id e759wG903776 for freebsd-questions@freebsd.org; Sat, 5 Aug 2000 11:58:16 +0200 (MET DST) Date: Sat, 5 Aug 2000 11:58:16 +0200 From: Thomas Bader To: freebsd-questions@freebsd.org Subject: Cannot get mail using fetchmail and ssh Message-ID: <20000805115816.A3728@trash.net> Reply-To: Thomas Bader Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailer: Mutt 1.0.1i Organization: trash.net - Internet Technology for everybody - http://www.trash.net/ X-Url: X-Cool: get your free UNIX account @ http://www.trash.net/ X-PGP-Key: mailto (automated reply) X-PGP-Algorithms: RSA and DSA/EG keys are available X-Operating-System: SunOS 5.7 sun4u sparc X-Editor: Vim-506 http://www.vim.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I have the following .fetchmailrc: poll MYSERVER via localhost port 1234 protocol pop3 user XXXX pass "YYYY" is bader preconnect "ssh -i ~/.ssh/identity -x -f -L 1234:MYSERVER:110 MYSERVER = sleep 20 < /dev/null > /dev/null" When I run "fetchmail -va", fetchmail does not connect to localhost:1234, instead it connects to localhost:110. But I don't have a user thomasb on localhost. I'd like fetchmail to connect to localhost:1234, so the entire connection to MYSERVER would tunneled and encrypted using ssh. Any Ideas? I'm using fetchmail 5.2.3 (the one, which is shipped with FreeBSD-4.0-CURRENT). Thomas --=20 .-. Thomas Bader =B7 thomasb@trash.net.remove =B7 http://www.t-bader.ch= / .-. oo| o= o| /`'\ Einen Unix-Shellaccount gibt es unter http://www.trash.net/ /`= '\ (\_;/) PGP Key-ID: 0x3A4B7F5D (RSA) 0x7584F5D8 (DSA/EG) (\_= ;/) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message