Author: Warren Baker Date: To: jeffrey.starin CC: Exim-Users Mailing List Subject: Re: [exim] reactive filtering to log files with exim possible?
On Tue, Mar 6, 2012 at 6:03 PM, Jeffrey Starin <jeffrey.starin@???>wrote:
> Can Exim be configured to react to log files?
>
> There is talk out there in the internet about other MTAs like Port25 which
> has the ability to react in real time to log files such that if a log entry
> contains a Yahoo 421 message, either switch IPs or otherwise shut down the
> queue.
>
> This sounds like a great idea and I'm wondering if Exim has the muscle to
> do this?
>
With a bit of external help you could get Exim to do the same thing. Have a
log file monitor that 'watches' (tails) the log file for a specific pattern
and when it encounters a pattern, have it execute Exim with an alternate
configuration file for the relevant message(s).