Bug 186874

Summary: Logwatch reports sendmail
Product: Red Hat Enterprise Linux 4 Reporter: David Hrbáč <david>
Component: logwatchAssignee: Ivana Varekova <varekova>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-27 11:33:06 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:

Description David Hrbáč 2006-03-27 08:02:43 UTC
Description of problem:
Logwatch reports sendmail which is not installed actually. Running logwatch with  
high detail, sendmail report is included. RPM default detail value runs fine.

Version-Release number of selected component (if applicable):
logwatch-5.2.2-1.EL4.1


How reproducible:
Always

Steps to Reproduce:
1.
[root@pluto ~]# rpm -qa | grep sendmail
[root@pluto ~]#
[root@pluto ~]# rpm -q postfix
postfix-2.1.5-4.2.RHEL4

2.
vi /etc/log.d/logwatch.conf
set Detail = 10

Actual results:

 --------------------- sendmail Begin ------------------------ 


ERROR: Could not open /etc/mail/local-host-names

ERROR: Could not open /etc/mail/access


Message Size Distribution:
Range          # Msgs       KBytes
0 - 10k             0            0
10k - 20k           0            0
20k - 50k           0            0
50k - 100k          0            0
100k - 500k         0            0
500k - 1Mb          0            0
1Mb - 2Mb           0            0
2Mb - 5Mb           0            0
5Mb - 10Mb          0            0
10Mb+               0            0
----------------------------------
TOTAL               0            0

---------------------- sendmail End -------------------------

Comment 1 Ivana Varekova 2006-04-27 11:33:06 UTC
The sendmail service log is displayed if /var/log/maillog file is nonempty.
Probably you uninstalled sendmail package and there remains old log file. If you
remove this file, logwatch will not display sendmail section.
If there is any problem please reopen this bug.