On Sunday 20 November 2005 11:26, Marc Haber wrote: > tags #340002 confirmed > thanks > > On Sun, Nov 20, 2005 at 10:14:06AM +0100, Alex Hermann wrote: > > The file /etc/cron.daily/exim4-base ahrdcodes the spool directory > > as /var/spool/exim4. However, the spool directory is configurable > > in the configuration file (directive: spool_directory or SPOOLDIR). > > I think the cron-job should use the directory specified in the > > configuration file(s). > > What do you think about the attached patch?
Except for a typo, it works perfectly. Thanks. Alex. --- debian/exim4-base.cron.daily.old 2005-11-20 15:29:21.000000000 +0100 +++ debian/exim4-base.cron.daily 2005-11-20 15:28:10.000000000 +0100 @@ -10,7 +10,7 @@ exit 0 fi -SPOOLDIR="$(exim -bP spool_directory | sed 's/.*=[[:space:]]\(.*\)/\1/')" +SPOOLDIR="$(exim4 -bP spool_directory | sed 's/.*=[[:space:]]\(.*\)/\1/')" # Uncomment the following lines to get daily e-mail reports #if [ -x /usr/sbin/eximstats ]; then # eximstats </var/log/exim4/mainlog \ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

