Re: [exim] Logging stats via script?

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim-users
Subject: Re: [exim] Logging stats via script?
On 29/04/2008, Sander Smeenk <ssmeenk@???> wrote:
> Quoting Marc Silver (marcs@???):
>
> > Can anyone point me in the right direction here or tell me where the
> > correct place for this would be? I'm using Exim 4.69.
>
> I once did such a thing with a system_filter logging exactly what i
> wanted to the exim mainlog, which i then parsed with a script. Ofcourse
> i don't have this configuration anymore.
>
> It wouldn't be good for your performance to have Exim run a script for
> every message passing through. System_filter, the Exim logfiles and
> perhaps perl_startup will probably help you!


Even more lightweight: write a daemon which listens for logging data
on a socket, and use Exim's ${readsocket functionality in a suitable
place in the config to send to it.

Peter

--
Peter Bowyer
Email: peter@???
Follow me on Twitter: twitter.com/peeebeee