Logwatch for System Log Mail report in Linux
I look for setup the logwatch for email report of the system log files.
I can't login the system every time but need to look the system log files for monitoring purpose for system. It tell me the status of the system health, error & problems.
But an issue come when i have to replace my sendmail with other mail server then the logwatch is not able to send the mail.
After a long time search i find the solution by giving the full path for sendmail in logwatch.conf.
After that the logwatch started the sending mails.
edit the logwatch.conf for the line
mailer = "/usr/sbin/sendmail -t"