Install Logwatch on Ubuntu
Upgrade and install packages
sudo su apt update && apt upgrade apt -y install logwatch
Edit config
vi /usr/share/logwatch/default.conf/logwatch.conf
TmpDir = /tmp
MailFrom = [email protected]
MailTo = [email protected]
Detail = Medium
Output = mail
Format = text
Encode = none
Test
logwatch --range today --service http logwatch --range yesterday --service postfix