Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2000 03:05:17 -0700
From:      Jim Mock <jim@jmock.com>
To:        Thomas Bader <thomasb@trash.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Cannot get mail using fetchmail and ssh
Message-ID:  <20000805030517.F2579@luna.osd.bsdi.com>
In-Reply-To: <20000805115816.A3728@trash.net>; from thomasb@trash.net on Sat, Aug 05, 2000 at 11:58:16AM %2B0200
References:  <20000805115816.A3728@trash.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 05 Aug 2000 at 11:58:16 +0200, Thomas Bader wrote:
> 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?

You can try taking the port out of your .fetchmailrc and running
``fetchmail -vaP 1234'' (you might also need -d) and see if that
works.  See the fetchmail man page for more info.

- jim

-- 
jim mock <jim@jmock.com>        work: jim@osd.bsdi.com | jim@FreeBSD.org
http://soupnazi.org/              BSDi Open Source Div | http://bsdi.com


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?20000805030517.F2579>