#!/bin/sh

cd /var/log/mail
for LOG in smtpserver router scheduler scheduler.perflog; do
   if [ -f $LOG ]; then
      savelog -g adm -m 644 -u root -c 7 $LOG >/dev/null
   fi
done

/etc/init.d/zmailer reload >/dev/null
