Article 571ND Logwatch not sending email to my @gmail instead the mail log showing local account?

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:
# --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
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:
#!/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
latest?d=yIl2AUoC8zA latest?i=CEz52Z4kyPo:wBQ-wCbszjU:F7zBnMy latest?i=CEz52Z4kyPo:wBQ-wCbszjU:V_sGLiP latest?d=qj6IDK7rITs latest?i=CEz52Z4kyPo:wBQ-wCbszjU:gIN9vFwCEz52Z4kyPo
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments