[CentOS] logwatch reports not benig emailed

Kanwar Ranbir Sandhu m3freak at thesandhufamily.ca
Mon Jun 25 16:22:33 UTC 2007


I have a couple of CentOS 5 servers, and third running in a FC6 domU.
I've configured postfix on those servers to not deliver any email to the
local system, but to instead relay mail to an internal mail server.  I
also set up /etc/aliases to send all mail to root to me, ksandhu.

I can send mail on the command line, and I get it at my email address,
delivered to the internal mail server: great!  But, every night when
logwatch runs, the damned reports never make it to my mailbox.  What's
worse is that I can manually run logwatch (logwatch --mailto root), and
I get the report in my mailbox!  All CentOS 5 servers are exhibiting the
same behaviour.

I've setup postfix like I always have.  CentOS 4 servers with the same
config are sending their logwatch reports properly.

I've tried explicitly setting the path to sendmail
in /etc/logwatch/conf/logwatch.conf:

mailer = "/usr/sbin/sendmail -t"

but, it hasn't helped.

Does anyone have any ideas?  I must be missing something obvious.


Kanwar Ranbir Sandhu
Linux 2.6.20-1.2944.fc6 i686 GNU/Linux 
12:14:54 up 16 days, 3:01, 3 users, load average: 0.99, 0.38, 0.23 

More information about the CentOS mailing list