Automated script once user send email to UNIX server


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Automated script once user send email to UNIX server
# 1  
Old 02-19-2015
Automated script once user send email to UNIX server

is there any possibility to trigger a script. once the user send email to the unix server box with specific subject line. My script will search for the specific word in the unix email and run the shell script if the specific keyword is sent in the email to the unix email box. so that it can automated. not sure how to check in the unix email box.
# 2  
Old 02-19-2015
man procmail
# 3  
Old 02-19-2015
procmail - Wikipedia, the free encyclopedia

Quote:
... Procmail is stable, but no longer maintained. ...
If you're using sendmail as your mail server, look at the man pages for "vacation" along with "sendmail".
# 4  
Old 02-20-2015
I am using HP UNIX. I need to check on daily basis whether I received any emails on the unix server. if particular emails received I will be executing my shell script. any idea how to check the emails on the unix outlook server.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Send email attachment using Operating System Script(UNIX) in Oracle Alerts

Good Day Kindly assist: I am creating an Alert that will notify supervisors of staff members who are due for probation report. I am using Operating System Script(Unix) as source.I have already developed the script. Now the challenge is if there are 3 employee records then the alert... (2 Replies)
Discussion started by: nosi27
2 Replies

2. Shell Programming and Scripting

send email from unix server

HI Guys, I want send email from my script ..and i have tried below command still no luck. ( uuencode $Adm "Test.txt" ) | mailx -s "Test" P***.P****@at***.com mailx -s "test mail" P****.P***@at***.com < $Admin Any other option.... (2 Replies)
Discussion started by: asavaliya
2 Replies

3. Shell Programming and Scripting

Script to Send Email to a user when an admin kills process

Can anyone create or give me a script that I can use to email a user automatically when I kill one of their processes? Or Can you give me a script to allow me to email a user (entering email manually) when a process is killed? Like showing what the PID was and a reason the admin killed it? Is... (2 Replies)
Discussion started by: JoeGazz84
2 Replies

4. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

5. Shell Programming and Scripting

How to send email once a day at certain time in unix shell script

hi, i have to send an email once a day at ceratin time say 22. i have tried with date commad, but not working.:( HOUROFTHEDAY=`date +'%H'` if ; then mailx -s "Info" emailid@org.com < $ProcessStatisticsFile fi Please help me... (5 Replies)
Discussion started by: sreelu
5 Replies

6. Shell Programming and Scripting

How to send email using shell script in UNIX, Is any environment setup required in Mac OS X ?

Hi All, I am using Mac OS X (Leopard OS). I am very new to UNIX. My requirement is that, by running a shell script, I create a log file. So I have to send a mail having that log file attached. What I tried to do is, I simply tried to check,whether this direct command works or not. So I... (2 Replies)
Discussion started by: Afreen
2 Replies

7. Solaris

Send an email from Solaris using Linux email server

Hello everyone I have a problem and I need your help: I have a Solaris 10 and Solaris 8 UNIX Servers, and Linux Centos4 as email server. I need send an email from Solaris servers preferably using Centos4 email server. I have no mail service configured in my Solaris computers (1 Reply)
Discussion started by: aflores
1 Replies

8. UNIX for Advanced & Expert Users

How to know whether I am able to send email from unix server or not?

How to know whether I am able to send email from unix server or not? I ma trying to send mail to my gmail id using command sendmail -s "Subject" abc@gmail.com Hi How are you? . It showed that You are not allowed to send mail. My question is there any file which contains the list of... (0 Replies)
Discussion started by: siba.s.nayak
0 Replies

9. UNIX for Advanced & Expert Users

send a message through email to 5 people using unix script.

Hi All, I want to send a message through email to 5 people in unix script. Please let me know, how to do it.Please do reply it is urgent. Thanks, Mary. (3 Replies)
Discussion started by: MARY76
3 Replies

10. Shell Programming and Scripting

send a message through email to 5 people using unix script?

Hi All, I want to send a message through email to 5 people in unix script. Please let me know, how to do it.Please do reply it is urgent.How to do it?Please reply.thanks! Thanks, Mary. (2 Replies)
Discussion started by: MARY76
2 Replies
Login or Register to Ask a Question