[CentOS] Logwatch for postfix

Les Bell lesbell at lesbell.com.au
Tue Oct 2 10:48:00 UTC 2007


Morten Torstensen <morten at mortent.org> wrote:

>>
On CentOS5 with the latest updates applied, the logwatch filter for
postfix returns way too many lines from the log. I get an "unmatched
entries" message and all messages that have gone through the system is
listed.
<<

You can suppress messages by adding regexp patterns to
/etc/logwatch/conf/ignore.conf. For example:

###### REGULAR EXPRESSIONS IN THIS FILE WILL BE TRIMMED FROM REPORT OUTPUT
#####
# regexp to drop RBL reject messages from maillog processing
NOQUEUE: reject:
# regexp to drop 250 (accepted) messages
250 Message accepted

That should quieten things down a bit.

Best,

--- Les Bell, RHCE, CISSP
[http://www.lesbell.com.au]
Tel: +61 2 9451 1144
FreeWorldDialup: 800909





More information about the CentOS mailing list