sudo apt-get install logwatch
http://www.mikecappella.com/logwatch/
Die Archive entpacken, in das jeweilige Verzeichnis wechseln darin
sudo make install-logwatch
ausführen.
sudo logwatch --print --service postfix --service sshd --service amavis --range today --detail 1
Mehr Informationen in der Manpage: http://manpages.ubuntu.com/manpages/hardy/en/man8/logwatch.8.html
Dieser Eintrag sorgt dafür das die Ausgabe von logwatch um 0:00 Uhr an die am Ende angegebene E-Mail Adresse gesendet (eingerichteter Mailserver vorrausgesetzt).
0 0 * * * logwatch --print --service postfix --service sshd --service amavis --range today --detail 1 | mail admin@example.com
https://www.adminlife.net/tipps-und-tricks/logfiles-auswerten-mit-logwatch/
http://www.mikecappella.com/logwatch/