Re: [exim] Logging to a database

Pàgina inicial
Delete this message
Reply to this message
Autor: David Powers
Data:  
A: exim-users
Assumpte: Re: [exim] Logging to a database
We log directly to a database here with a combination of condition acl's
and an accept router that use the ${lookup directive to run an insert
statement. We have the lookup always return 1 to prevent a problem if
there is a database write problem. It is, of course, a hackish thing -
but it works very very well.

-David Powers

Wakko Warner wrote:

>>I've written a script to parse Exim's mainlog and store log data in a
>>MySQL database. The main goal was to make it easier to organize log
>>data from multiple MTAs, so I'm hoping that others in a similar
>>situation will find it useful. This is the first public release so I
>>would appreciate any feedback.
>>
>>
>
>I asked about the possibility of logging directly to sql. Still not sure
>how it could work, but it would be nice =)
>
>
>