summaryrefslogtreecommitdiff
path: root/postfix/cron.daily/00local-pflogsumm
blob: 7eca532d157294cd3f903c31a6b73de4c729e5c6 (plain)
  1. #!/bin/sh
  2. #
  3. # Debian pflogsumm daily cron script
  4. #
  5. # This script analyses the logfile for statistics and problems.
  6. #
  7. if [ -x /usr/sbin/pflogsumm ]; then
  8. (cat /var/log/mail.log.1 /var/log/mail.log) | /usr/sbin/pflogsumm -d yesterday --problems_first
  9. fi