LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack 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,408

Rep: Reputation: 108Reputation: 108
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 10:01 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration