On Wed, 26 Jan 2005, Fred Viles wrote:
> IIUC, the OP just wants to eliminate some redundancy between main and
> reject logs. He's not saying he doesn't want the denial to go
> completely unlogged, he just wants it logged only in rejectlog.
That could also, of course, be handled by a sufficiently general log
filter.
The current idea is that the main log is the true history of everything,
in time order. The reject log copies the rejection lines, in order to
make it easy to scan them and be sure that your policy controls are
doing what you think they are doing. For people who don't like the extra
overhead, the reject log can be completely disabled (as can the message
log files, which fulfil a similar purpose).
I'm a bit chary about not writing stuff to the main log, because it
would then be telling an incomplete story.
(BTW, my reading of the OP's request was different: I thought he wanted
to suppress certain reject lines completely, on the grounds that they
were too numerous and not interesting. With the huge increase of spam, I
guess this might be becoming more generally true.)
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book