Red Hat Bugzilla – Bug 156175
Logwatch reports Passed e-mails from amavisd-new as unmatched entries
Last modified: 2007-11-30 17:11:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3
Description of problem:
Since there is no Redhat amavis rpm, I am using a third party amavis package: amavisd-new-2.2.1-1.1.fc3.rf from http://apt.sw.be/fedora/$releasever/en/$basearch/dag
Recently, this amavis package changed its logging behaviour to no longer put commas behind the "Passed" log entries. The logwatch /etc/log.d/scripts/services/amavis script however only ignores "/^Passed, /" entries. I've changed this into "/^Passed /" and things worked again (line 63).
That was in the previous version of logwatch and after yesterday's yum update, the old bug was reintroduced. I've decided it's better to solve the problem at the source, so here I am ;-).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. wait for logwatch e-mail to come in ;-)
Actual Results: see lot's of entries with "Passed" under **Unmatched Entries**.
Expected Results: see only non-Passed messages.
Created attachment 113759 [details]
Patch to /etc/log.d/scripts/services/amavis script
line 63 is changed from "/^Passed, /" to "/^Passed /"
This bug is fixed in the current fc version (logwatch-6.1.2-1).