Bug 296001

Summary: Logwatch is unable to handle e.g. postfix 2.3 mail logs
Product: Red Hat Enterprise Linux 5 Reporter: Robert Scheck <redhat-bugzilla>
Component: logwatchAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 5.0CC: johan-fedora, ralph+rh-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0303 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 15:59:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
define new log format message none

Description Robert Scheck 2007-09-19 08:59:24 UTC
Description of problem:
It looks to me, that logwatch in RHEL5 is very poorly maintained and less QA 
was done. If you run a postfix mailserver with ~ 10000 bis 15000 mails per day 
on RHEL5 and have logwatch installed, the daily logwatch mails are simply big
bullshit. It's similar to "cat /var/log/maillog | mail root". This also applies 
to amavis, pam etc, when failed logins are there etc. etc etc.

Version-Release number of selected component (if applicable):
logwatch-7.3-5

How reproducible:
Everytime, see above

Actual results:
Logwatch is too old for the software delivered with RHEL5.

Expected results:
Please upgrade logwatch as soon as possible or fix it somehow else.

Additional info:
An update to logwatch-7.3.6-6 worked very well for me and obsoleted all my 
problems, it also didn't introduce any new problems. The only maybe unwanted 
change which could be a regression for RHEL5 is, that mails are no longer sent 
directly by logwatch and the cron mail method is used. But this shouldn't be 
that huge problem (RHEL 5.1 or 5.2 is coming anyway).

Comment 1 Andrew Martynov 2007-10-09 06:34:08 UTC
Created attachment 220731 [details]
define new log format message

Comment 2 Andrew Martynov 2007-10-09 06:35:25 UTC
Comment on attachment 220731 [details]
define new log format message

I found the same behaviour for our mail server.
Simple patch allow logwatch correctly handle most of messages.

Patch include definition of new log format for e-mail messages.

Comment 4 RHEL Program Management 2007-10-26 07:34:37 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 9 errata-xmlrpc 2008-05-21 15:59:49 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0303.html