Bug#472479: cron.d/exim4-base: add eximstats args with $E4BCD_DAILY_REPORT_ARGS
Roderick Schertler
roderick at jagular.ibcinc.com
Mon Mar 24 14:31:31 UTC 2008
Package: exim4-base
Version: 4.63-17
Severity: wishlist
Tags: patch
It would be handy if there was a way to add arguments to the eximstats
run in cron.daily/exim4-base.
--- cron.daily/exim4-base.~1~ 2007-01-20 04:46:34.000000000 -0500
+++ cron.daily/exim4-base 2008-03-18 08:56:07.000000000 -0400
@@ -11,6 +11,7 @@
# checking mechanisms or don't care.
E4BCD_DAILY_REPORT_TO=""
+E4BCD_DAILY_REPORT_ARGS=""
E4BCD_WATCH_PANICLOG="yes"
E4BCD_PANICLOG_NOISE=""
E4BCD_GNUTLS_PARAMS_MAXAGE="14"
@@ -36,7 +37,7 @@
if [ -n "$E4BCD_DAILY_REPORT_TO" ]; then
if [ -x "$(command -v eximstats)" ]; then
- eximstats </var/log/exim4/mainlog \
+ eximstats </var/log/exim4/mainlog $E4BCD_DAILY_REPORT_ARGS \
| mail $E4BCD_DAILY_REPORT_TO -s"$(hostname --fqdn) Daily email activity report"
fi
fi
--
Roderick Schertler
roderick at argon.org
More information about the Pkg-exim4-maintainers
mailing list