LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-16-2002, 09:19 AM   #1
Zingaro2002
Member
 
Registered: Feb 2002
Location: Italy
Distribution: Fedora Core 1, Red Hat 8, Red Hat 9, Knoppix 3.3 (debian sarge)
Posts: 97

Rep: Reputation: 15
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.
 
Old 08-16-2002, 03:50 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It's not a perfect solution, but that's what comes to my mind: you can have a script (started from cron) checking every minute if new mail arrived.
To log in by ssh without typing password you can RSA authantication. Read 'man ssh' for details. One pg-down and it starts.
Hope this helps
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh from outside my lan? danimal87 Linux - Newbie 4 09-04-2005 10:35 AM
problems about ssh and LAN franz77 Linux - Networking 3 01-09-2005 03:41 AM
qmail +qmail-qfilter + qmail-scanner-queue+qmail-user-masq.pl problem countcobolt Linux - Networking 0 07-08-2004 11:29 AM
SSH from outside LAN - Fedora Core 2 Robstro Linux - Networking 1 06-24-2004 03:08 PM
SSH access from outside the LAN? jdp Linux - Newbie 1 05-02-2004 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration