Re: [exim] How to disable logging unroutable addresses?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Chris Meadors
CC: exim-users
Sujet: Re: [exim] How to disable logging unroutable addresses?
On Wed, 16 Aug 2006, Chris Meadors wrote:

> While changes are being proposed, I've seen here and there requests to
> be able to log into other files than just the default. Could something
> like this be made to work also:
>
> log_target = main : /var/log/exim/malwarelog
>
> So it may be that "main", "reject" and "panic" are defined somewhere in
> the configure file (that overrides the compiled in definition that is
> used if not redefined).


That would be a much greater extension.[*] There are many issues about
log rotation, log naming when datestamped logging is used, and indeed
opening and writing to different log files (how many to keep open?) that
make this a big project. Not to mention how to specify this at places
other than ACLs. At the moment, I'd rather just do the simple thing
rather than get bogged down in something much larger.

The larger project might be an independent process that tails Exim's log
file and sorts it according to various patterns; this would save Exim
having to make decisions for each log line that it writes, and only that
need the apparatus would need to run it.

------------------------
[*] Funny how so often when a simple enhancement is proposed, somebody
always comes up with something much more grandiose. :-)

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book