On Thu, Apr 17, 2008 at 08:41:52AM -0400, Justin Pryzby wrote:
> That's probably due to very low mail volume on this laptop machine, in
> combination with an earlier logfile rotation.

Please try the following patch against the daily cron job:

--- debian/exim4-base.cron.daily        (revision 2260)
+++ debian/exim4-base.cron.daily        (working copy)
@@ -34,9 +34,12 @@
 # Patches for more sophisticated processing are appreciated via the
 # Debian BTS.

+E4BCD_MAINLOG_NOISE="^[[:digit:][:space:]:-]\{20\}\(\(Start\|End\) queue run: 
pid=[[:digit:]]\+\|exim [[:digit:]\.]\+ daemon started: pid=[[:digit:]]\+, 
.*\)$"
+
 if [ -n "$E4BCD_DAILY_REPORT_TO" ]; then
   if [ -x "$(command -v eximstats)" ] && [ -x "$(command -v mail)" ]; then
-    < /var/log/exim4/mainlog eximstats $E4BCD_DAILY_REPORT_OPTIONS \
+    < /var/log/exim4/mainlog grep -v "$E4BCD_MAINLOG_NOISE" \
+                | eximstats $E4BCD_DAILY_REPORT_OPTIONS \
                 | mail $E4BCD_DAILY_REPORT_TO -s"$(hostname --fqdn) Daily 
email activity report"
   else
     echo "The exim4 cron job is configured to send a daily report, but 
eximstats"

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 621 72739835



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to