Logwatch not sending email to my @gmail instead the mail log showing local account?
by newbie14 from LinuxQuestions.org on (#571ND)
Hi,
I have a brand new centos 7 machine setup. I have setup the logwatch and below is part of the /usr/share/logwatch/default.conf/logwatch.conf
Quote:
I have change to my gmail but yet its sending to my local email. Secondly I see the service = All but when I locally run logwatch I dont see any entries from my webserver. What could be wrong ? Do I need to restart any service or etc for the new changes to take effect?
Below is 0logwatch contents too.
Quote:


I have a brand new centos 7 machine setup. I have setup the logwatch and below is part of the /usr/share/logwatch/default.conf/logwatch.conf
Quote:
# --output mail should be passed on command line to enable mail feature. MailTo = ***@gmail.com # High = 10 Detail = High # The default service(s) to report on. This should be left as All for # most people. Service = All |
Below is 0logwatch contents too.
Quote:
#!/bin/sh #Set logwatch location LOGWATCH_SCRIPT="/usr/sbin/logwatch" #Add options to this line. Most options should be defined in /etc/logwatch/conf/logwatch.conf, #but some are only for the nightly cronrun such as --output mail and should be set here. #Other options to consider might be "--format html" or "--encode base64", man logwatch for more details. OPTIONS="--output mail" #Call logwatch $LOGWATCH_SCRIPT $OPTIONS exit 0 |