I have a Linux Debian / Ubuntu 10.04 server that logs error messages to /var/log. The mail setup is Postfix with Courier MTA. I would like to receive critical error notifications in my mailbox along with periodic syslog reports.
I know that I should start with syslog.conf, but I don't understand enough about its configuration to tinker with the settings. There's online advice on the subject such as http://www.johnandcailin.com/blog/john/how-setup-real-time-email-notification-critical-syslog-events
, for example. But before attempting bash scripts I should understand what the syslog daemon can already do, since I'm trying to keep this as simple as possible.
I attach the default syslog file. Pls let me know how to proceed, thanks!