Centos6 - Logwatch not mailing on 64bit
On Aug 21, 2011, at 3:56 PM, David wrote:
> At 12:32 PM 8/21/2011, you wrote:
>> Well, can we verify whether the sent mail generated in the
>> /var/log/mail.log? Also, (assuming that you are running Postfix), I
>> assume that the configuration are identical on both 32-bit and
>> 64-bit systems, right?
>> On Aug 21, 2011, at 3:23 PM, david wrote:
>>> Logwatch is doing its thing properly on my 32-bit servers, delivering
>>> the report by mail to my root account once a day sometime around 3:30am.
>>> On the 64-bit systems, no mail is occurring. From the "cron" log on
>>> a 64-bit system, there are lines like:
>>> cron-20110821:Aug 21 03:36:23 XXX run-parts(/etc/cron.daily):
>>> finished 0logwatch
>>> (where "XXX" stands for the server name)
>>> but no report is sent.
>>> If I run logtwatch manually, by simply typing
>>> as root, I get the mail.
>>> Is this a known issue? Is there some information I could supply that
>>> would help identify the reason?
>>> To the best of my knowledge, I made no changes to the logwatch
>>> David Kurn
> I performed as root
> cd /var/log
> grep -ri logw *
> and only the "cron-" messages showed up. I am using Sendmail and
> dovecot, and the sendmail is configured to relay all mail to my
> (local) mail server as a "smart relay"
> [converting to posting responses at the bottom]
It sounds like it is set not to send email. If you haven't make any changes, it would be weird, since it defaults to send email, but you may want to verify this file:
And see if this part of the file is commented out or at least set to yes:
# By default the cron daemon generates daily logwatch report
# if you want to switch it off uncomment DailyReport tag.
# The implicit value is Yes
# DailyReport = No
CentOS mailing list