David Benfell <[EMAIL PROTECTED]> wrote on Thu, 22 Jun 2000:
> poll antares.xxxxxxxxxxxxx port 11110 user benfell pass xxxxxxxxxxxx
> preconnect "ssh -C -f [EMAIL PROTECTED] -L
>11110:antares.xxxxxxxxxxxxx:110 sleep 5"
Ok, so you're telling fetchmail here that for retrieving email,
it should connect to the server antares.xxxxxxxxxxxxx at port 110
(and some other stuff).
Then the preconnect command starts up a ssh connection, which
includes a port forwarding of 11110 on the localhost to the port 110
on the remote system.
End result: fetchmail tries to connect to port 11110 on the remote
server, not on localhost, where the forward has been set up.
Adding a "via localhost" there should fix your problems.
> Warning: Remote host denied X11 forwarding, perhaps xauth program
> could not be run on the server side.
> fetchmail: POP3 connection to antares.xxxxxxxxxxxxx failed: Connection
> refused
> fetchmail: Query status=SOCKET
> Warning: Remote host denied X11 forwarding, perhaps xauth program
> could not be run on the server side.
> Local: bind: Address already in use
Presumably you get "Address already in use" because these two poll
attempts were so close to each other, than the previous ssh session
hadn't yet exited when you already started the second one. You can
only have on ssh forwarding a specific port on the system at a time.
Hope this helps,
Mikko
--
// Mikko H�nninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
// The Corrs list maintainer // net.freak // DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Apple" (c) Copyright 1767, Sir Isaac Newton.