Re: [exim] custom log file in ACL?

Top Page
Delete this message
Reply to this message
Author: W B Hacker
Date:  
To: exim users
Subject: Re: [exim] custom log file in ACL?
isolderj@??? wrote:
> Is there a way in exim to make the logwrite part of an ACL write to a
> different logfile that I specify. James


At present it is limited to the logfiles it was compiled to be aware of, eg:
panic, main, reject.

It should not be rocket science to alter source to add one or more new ones - or
a variable or several - and recompile.

Meanwhile - one can do SQL INSERT, UPDATE, et al from any acl AND/OR router /
transport, which I have used for years.

One can also trigger an external executable to do <whatever>


CAVEAT 1:

Running an SQL engine for no other purpose but Exim enhanced logging is not,
IMNSHO, a 'good idea'. OTOH, if you already run such a beast for other purposes
. (m)any Exim cleverities can be a relatively lightweight add-on to it...

CAVEAT 2:

Exim's primary 'mission' is to handle smtp sessions. The more side-jobs one asks
of it, the greater the likelihood of getting one's undergarments tangled in the
machinery. As in rejecting messages because the 'other' engine/executable is not
doing what was expected of it...

Ergo mining the *existing* log system externally and after-the-fact for pattern
matches is often a safer way to go, as it need not impact Exim's 'day job'.

Nor necessarily even need to compete for use of the same machine resources.

YMMV,

Bill Hacker