I`d like to know how to go about writing an email notification program.
I know that there are many such programs available but what I would like to do is this: monitor for incoming mails, upon receiving an email from a specific email address, read the content of email (which is one word) and depening on the email content, execute a command.
Or, if anyone can tell me about an existing email notification program with this feature, then thats also fine.
I am using Ubuntu and the Mail Transfer Agent,Mail Delivery Agent and Mail User Agent will be whatever Ubuntu has. I`d just like to know the steps that i have to carry out to do the above.