Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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. error-logs@[my company]

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?

Edit

Spam is not a big concern here. All received/forwarded messages will be to email addresses in my domain and under my control.

share|improve this question
    
Procmail in particular jumps out, but the project itself seems ancient and I'm not sure if I should bother diving in. –  Assaf Lavie Jul 10 '12 at 11:56
2  
procmail is still widely used. dovecot with sieve would be a good alternative –  Gryphius Jul 10 '12 at 12:31
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.