Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2000 11:58:16 +0200
From:      Thomas Bader <thomasb@trash.net>
To:        freebsd-questions@freebsd.org
Subject:   Cannot get mail using fetchmail and ssh
Message-ID:  <20000805115816.A3728@trash.net>

next in thread | raw e-mail | index | archive | help
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




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