[EMAIL PROTECTED] wrote:
Hello,

Is it possible to use qpopper through a ssh connection ? Like:

ssh my.pop.server.net /usr/sbin/in.qpopper

no. using ssh that way doesn't give you the ability to run interactive commands on the remote host. It would be the same for any daemon that required an interactive session; sendmail, telnet, etc..

If you really wanted to do this, you could create a perl script that uses Mail::Pop3 to send the contents of a mailbox back using a single command line like:
"ssh my.pop.server.net /usr/local/bin/getmymail.pl $user $pass $function"
Function could be something like 'delete 1' or 'list all', etc..
You could store the passwords on the qpopper server or pass them on the command line - either way is insecure! The script would have to handle all possible responses from qpopper.
Not sure why this would ever be a good idea...

Ken

I made a try and I have the impression I have to start with USER and PASS 
commands, even if I am alredy loged throught ssh, which is in itself not a big 
problem. The problem I noticed is with the PASS command qpopper complains about 
accessing the passwo
rd
 file and die and the connection is broken.

Any suggestion ? Can I do that with qpopper or do I need to compile another 
popd, which one ?

Have a nice day,

        Jean-Bernard


Reply via email to