Invoke shell script on receiving mail

raj sourabh <[email protected]>
Newsgroups gmane.linux.redhat.general
Message-ID <CAHxMG43jPxS-YAqjkZByJ5yGwL3P-s+1tA2KGU=a-+dCT2EAzQ@mail.gmail.com>
Hi All,

I am trying to make a script that does the following:

* Checks any new mail on my gmail/yahoo account
* If any new messages - invoke a script on local system ( script will
generate a number)
* respond to the mail with this number

I have tried many things to achieve this did not succeed. If anyone has
done anything of this kind, Please share your ideas.

Thanks in advance.

Regards
Raj
-- 
redhat-list mailing list
unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.