# yum install postfix-pflogsumm
いつの間にか「postfix-perl-scripts」に名前が変わっていた。(^^;
# yum install postfix-perl-scripts
# vi pflogsumm_report #!/bin/bash MAILLOG=`mktemp` for log in `ls /var/log/maillog*|sort -r` do cat $log >> $MAILLOG done REPORT=`mktemp` pflogsumm --problems_first --verbose_msg_detail --mailq -d yesterday $MAILLOG > $REPORT cat $REPORT | mail -s "`head -1 $REPORT` in `uname -n`" postmaster rm -f $MAILLOG $REPORT
# chmod 700 pflogsumm_report # mv pflogsumm_report /etc/cron.daily/