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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeffrey Starin
Dátum:  
Címzett: Exim-Users Mailing List
Tárgy: Re: [exim] reactive filtering to log files with exim possible?
On 3/7/2012 3:09 AM, Warren Baker wrote:
>
> On Wed, Mar 7, 2012 at 12:15 AM, Jeffrey Starin
> <jeffrey.starin@??? <mailto:jeffrey.starin@gmail.com>> wrote:
>
>     On 3/6/2012 12:26 PM, Warren Baker wrote:

>
>
>         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).

>
>     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

>
>
>
> You can run a separate instance of Exim with an alternate config file
> which could be configured to only handle the delayed Yahoo messages.
> This way, the separate instance wouldn't touch the other mails in the
> queue and you don't need to HUP anything.
>
> There are a number of ways you could do this, for example have the
> external helper freeze the message and then have the other instance
> unthaw and then attempt to deliver it or based upon some file existing
> (the is created by the external helper) have the secondary exim
> instance deliver the message. The primary exim instance wouldn't touch
> the messages destined for yahoo, until the file was removed.
>
> There are a number of ways to do this but just about anything possible.
>
>
> --
> .warren

A little insight as to what is an external helper? Thanks.