Autor: Ted Cooper Data: A: exim-users Assumpte: Re: [exim] separate log file for deliveries
Stanislaw Halik wrote: > Heya,
>
> I'd like to make the log file a bit more comprehensible. In mainlog,
> all contents of rejectlog are printed, along with all successful
> deliveries. I'd like to have all successful deliveries, lines like
> these:
>
> 2006-11-20 12:58:54 1Gm7nX-0002Wz-EP <= [cut for brevity]
> 2006-11-20 12:58:54 1Gm7nX-0002Wz-EP => sthalik [same here]
>
> in a separate log file.
>
> While reading the spec file, I haven't found any mention of creating
> custom log files, as opposed to mainlog, rejectlog and paniclog. Is such
> a thing possible right now?
>
> /sh
>
Just run an exigrep over the log file.. my personal favourite:
(ahhh.. spam traps.. notice how they are addresses that get scraped off
this list!!)
.. will give you a list of every single mail that came in for that log
file along with all actions associated with it. Not exactly
chronological but it gets the useful information out.
There's no change needed to the logging at all, this just changes how
you read them.
There are also utilities out there to turn them into pretty looking
coloured web pages.. and then there's also eximstats.