Hello,
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.
Regards,
Ranbir