Re: [exim] reactive filtering to log files with exim possibl…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeffrey Starin
Ημερομηνία:  
Προς: Exim-Users Mailing List
Αντικείμενο: Re: [exim] reactive filtering to log files with exim possible?
On 3/6/2012 12:26 PM, Warren Baker wrote:
> On Tue, Mar 6, 2012 at 6:03 PM, Jeffrey Starin
> <jeffrey.starin@??? <mailto:jeffrey.starin@gmail.com>> 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).
>
> --
> .warren

thank you Warren. Do you think simply "kill -HUP `cat
/var/spool/exim/exim-daemon.pid`" then restarting exim with reference to
a separate config file would suffice?

What happens to the messages already in the queues and what kind of
hiccup could we expect?

Thank you