LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Logwatch not sending emails (https://www.linuxquestions.org/questions/linux-server-73/logwatch-not-sending-emails-724979/)

bclear4 05-10-2009 07:37 AM

Logwatch not sending emails
 
I am having an issue with a server that won't send the daily log recaps to either the root account or an external email address. If I run logwatch or logwatch --mailto (email address) nothing gets
sent nor does anything show up in /var/log/mailog. But if I run logwatch –debug low,med or high and email is generated and sent to both the external email address and root and there is an entry for the message in /var/log/mailog. I have reinstalled the logwatch package(5.2.4) with the issue still being the same. I tried this with default logwatch.conf mailing only to root and then the a simple modified of the mailto line “mailto= root, (eternal email)”.

Additional I check and I am able to send email thru mail to internal and external email address. At this point I am at a loss to figure out what to check next, any help or idea will be most helpful.


Thanks,
B.Clear

bclear4 05-11-2009 08:56 AM

Well figured it out. I had a typo in the /etc/hosts file.


All times are GMT -5. The time now is 11:42 PM.