I need advice on how to achieve the following:
I have various systems and services that output log error messages to some email address. e.g.
I want to be able to define complex rules for what happens to these messages, based on content/subject, etc. at a single point (i.e. not at the machines emitting them).
Gmail (google apps) does let me do some stuff like that, but its rule system is very limited. I'm looking for something I can hack away at with scripts/regex.
So basically an email routing service (can't be client side) of some sort.
Do you know of such a service (for Linux) or web-service? Is there any open source SMTP server that's flexible enough and easy enough to configure with rules/scripts?
Spam is not a big concern here. All received/forwarded messages will be to email addresses in my domain and under my control.