[fetchmail]Help requested with pop3 via ssh

David Williams davidjw@calypso-it.co.uk
Fri, 27 Jan 2006 21:27:59 +0000


Good thinking. I did try fetchmail -v but it didn't give me any info for 
some reason.
Using netcat solves the problem perfectly. Thanks.

Just for the record the working command is:

poll server proto POP3 plugin "ssh -C user@remotehost  nc  localhost 110"
    user xxxxx there with password pppppp is yyyyyy here
 



Jakob Hirsch wrote:

>David Williams wrote:
>
>  
>
>>when I run the ssh command in the shell I get a pop3 session. However
>>when I run the fechmail command it simply returns to the shell prompt.
>>    
>>
>
>fetchmail -v ist a good start for troubleshooting...
>
>telnet prints "Trying 127.0.0.1..." to STDOUT at startup, which confuses
>fetchmail, as this is not a valid pop3 server greeting. You could use
>netcat for what you want. Or see if the remote pop3 server has a mode to
>run form inetd, which you could use. Or simply use pop3s, if possible.
>  
>