Ubuntu server log monitoring via email without the need of a mail server (SendEmail)

Found a handy Tutorial on unbuntuforums on how to set up a server to email logs without the need of a mail server. It uses a couple of programmes called Sendemail and logwatch .

I had to make a few changes to the guide to make it work on my server system. For some reason the logwatch TXT file was not being written and cron was not running the bash file correctly.  So I have rewritten the guide below. Continue reading