7

Run a script when I receive an email

view full story
linux-howto

http://www.unix.com – Hi expert I wish to start a shell script when I receive an email. I modified the aliases file and I add this string as400nag: "|/home/nag-script/startstop/AS400-Boot.sh The solution works . When the as400nag user receive an email the /home/nag-script/startstop/AS400-Boot.sh starts .but ...... also I need to set some parameter to this script . The parameters are in the mail subject but I'm not able to get them. Some one could help me to find a solution ? Thanks and Regards Emilio (HowTos)