#!/bin/sh # # Debian pflogsumm daily cron script # # This script analyses the logfile for statistics and problems. # if [ -x /usr/sbin/pflogsumm ]; then (cat /var/log/mail.log.1 /var/log/mail.log) | /usr/sbin/pflogsumm -d yesterday --problems_first fi