On Thu, 17 May 2001 23:19:48 +0100, Mark Baker wrote:

>I thought it did, but I've checked and it's only doing it on the
>retry database (in /etc/cron.daily/exim), not the others. I'll fix
>that.

Below is my /etc/cron.daily/exim (it doesn't have exim_tidydb,
though):

#!/bin/sh

# Uncomment the following lines to get daily e-mail reports
#if [ -x /usr/sbin/eximstats ]; then
#  eximstats </var/log/exim/mainlog \
#                    | mail postmaster -s"$(hostname) Daily email activity 
report"
#fi

# Cycle logs
if [ -x /usr/bin/savelog ]; then
  for i in mainlog rejectlog paniclog; do
    if [ -e /var/log/exim/$i ]; then
      savelog -p -c 10 /var/log/exim/$i >/dev/null
    fi
  done
fi

* * *

Reply via email to