Your message dated Mon, 24 Mar 2008 16:31:54 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#472479: cron.d/exim4-base: add eximstats args with
$E4BCD_DAILY_REPORT_ARGS
has caused the Debian Bug report #472479,
regarding cron.d/exim4-base: add eximstats args with $E4BCD_DAILY_REPORT_ARGS
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
472479: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472479
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Version: 4.67-8
On Mon, Mar 24, 2008 at 10:31:31AM -0400, Roderick Schertler wrote:
> 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
Something very similiar was already implemented in version 4.67-8. The
only difference is that the variable is called
E4BCD_DAILY_REPORT_OPTIONS.
cron.daily/exim4-base is a conffile, so you can painlessly apply the
patch now and get a seamless update when lenny is released.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
--- End Message ---