Discussion Locked

Execute an Unix script from an e-mail account

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have an e-mail account ex: (trackermx@mydomain.com) and every time an e-mail arrives to this account I need to execute a Unx script. This executed script will write my new e-mail information into a text file.

I am using a O.S hP-UX B.11.0'0 A 900/800

Can anyone help me with this task. I do not have experience with Unix I and do not have how to start.

Thak you for your help !

Best Regards !

3 replies

by ghislain.levesque

You will have to install 2 package (free)
-Fetchmail : to fetch your mail (if you want to run it from a different server)

-Procmail: This will allow you to define rules and take action on new mail arrival like:
- depending on subject/from add/word in the body, etc ... and from there copy the content or run script or anything you want....

Very easy to easy... Hope this help

This discussion is closed to new replies.