[Exim] cron error

Top Page
Delete this message
Reply to this message
Author: Chris Schappert
Date:  
To: exim-users
Subject: [Exim] cron error
hi. I got two emails from my Cron daemon last night. they read:


From: Cron Daemon
To: mail@localhost
Subject" Cro <mail@localhost> if [ -x/usr/sbin/exim_tidydb ]; then
/usr/sbin/exim_tidydb /var/spool/exim retry >/dev/null; fi

Body:
failed to open DB file /var/spool/exim/db/retry: Invalid argument


From: Cron Daemon
To: mail@localhost
Subject" Cro <mail@localhost> if [ -x/usr/sbin/exim_tidydb ]; then
/usr/sbin/exim_tidydb /var/spool/exim wait-remote_smtp >/dev/null; fi

Body:
failed to open DB file /var/spool/exim/db/wait-remote_smtp: Invalid
argument


My file for exim in /etc/cron.d (I'm using a debian system) reads:

# /etc/cron.d/exim: crontab fragment for exim

# Run queue every 15 minutes
08,23,38,53 *     * * *     mail   if [ -x /usr/sbin/exim -a -f
/etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi


# Tidy databases
13 6 * * *    mail    if [ -x /usr/sbin/exim_tidydb ]; then
/usr/sbin/exim_tidydb /var/spool/exim retry >/dev/null; fi
17 6 * * *    mail    if [ -x /usr/sbin/exim_tidydb ]; then
/usr/sbin/exim_tidydb /var/spool/exim wait-remote_smtp >/dev/null; fi



Does anyone know why this is? I always log into my system using my user
name chris (I'm never in as root, I just su). I checked permissions on
the retry and wait-remote_smtp databases. They are both owned by mail,
and owned by the group mail. Do I need to add my user name chris to the
group mail, or change permissions? Or is the command given by
/etc/cron.d/exim simply not a valid one? thanks for any help.