#!/bin/sh /usr/local/bin/mysqldump -u root -password dspam |gzip > /var/db/sqldumps/dspam.sql.gz /usr/local/bin/mysqldump -u root -password postfix |gzip > /var/db/sqldumps/postfix.sql.gz /usr/local/bin/mysqldump -u root -password mysql |gzip > /var/db/sqldumps/mysql.sql.gz bzcat /var/log/maillog.0.bz2 >/tmp/pflogsumm.log && /usr/local/bin/pflogsumm /tmp/pflogsumm.log 2>&1 |/usr/bin/mailx -s "`uname -n` weekly mail stats" root@turandot.net && rm /tmp/pflogsumm.log