This is something I haven't done before... So not sure what some good resources or a solid starting point would be.
What I want to do... is on my Ubuntu Server 10.10 box, I need to setup a mailbox... lets call it: OnCall. When this mail-box receives a messages, I want to process it with something (bash most likely, although I'm not averse to learning something in something else).
Say I get a message:
From: Program@localhost
To: OnCall@localhost
Subject: Error Message
My Program generated an error that you should know about... #page JDoe
It would then process the message through a secondary system (Log into secondary system using an already existing pager system, that includes a scheduler for the OnCall person, phone numbers, etc).
Logon to remote system >>
Page: JDoe
Subject: Error Message
Body My Program generated an error that you should know about...
If something already exists (doesn't it always?) that would be awesome... otherwise, I need to roll something simple of my own. Rather than fumbling around, figured I'd get expert advice first.