#!/bin/sh [ -n "$EX4DEBUG" ] && set -x # Only do anything if exim4 is actually installed if [ ! -x /usr/sbin/exim ]; then exit 0 fi # Uncomment the following lines to get daily e-mail reports #if [ -x /usr/sbin/eximstats ]; then # eximstats /dev/null 2>&1; then : # skip lock files else exim_tidydb_as_mail /var/spool/exim $file >/dev/null fi done fi