qmail, ssh and events in a LAN
Hi.
I have a Red Hat Linux 7.3 with a qmail mail server installed and working perfectly (I've followed the instructions in LifeWithqmail).
Now I urgently need to do the following:
each time a new e-mail arrive to any account of my domain, my linux server MUST estabilish a connection with a Windows 2000 client and run a particular application on it. All this in an automatic way (I mean without any operator).
I thought to use ssh for the connection (for more security): I can use it perfectly, but it requires that I insert the password for authentication and, moreover, I don't know how to automate the execution of a command (I, personally, must run it, after authentication).
Is there anybody who can give me suggestions?
If somebody think to anything else (also different from ssh) to do that task, please HELP me.
Oh... I was forgetting... the two machines (linux box and windows 2000 box) are connected in a LAN.
Thank you very much in advance.
|