3 ms·
procmail will do the job. From the homepage: "Procmail can be used to [...] preprocess your mail, start any programs upon mail arrival [...]." http://www.proc
by bbb 18y ago
procmail will do the job. From the homepage:
"Procmail can be used to [...] preprocess your mail, start any programs upon mail arrival [...]."
http://www.procmail.org/ http://www.procmail.org/
- SwellJoe 18y agoWe also use procmail for this sort of thing (along with a lot of other things, like spam and AV filtering, advanced delivery logging, etc.). It's a bit of a learning curve, but once scaled, is a very powerful tool. It also has the benefit that it can be a dispatch table, of sorts, and call different scripts based on different contents or subjects or whatever, and provides logging and other stuff reasonably cheaply. And, it provides security via its DROPPRIVS directive. Yep, procmail is a good choice.