smeserver-mailstats/root/usr/bin/runmailstats.sh

4 lines
174 B
Bash
Raw Normal View History

#!/bin/bash
exec 1> >(logger -t $(basename $0)) 2>&1
perl /usr/bin/mailstats.pl /var/log/qpsmtpd/\@* /var/log/qpsmtpd/current /var/log/sqpsmtpd/\@* /var/log/sqpsmtpd/current