Bug#476541: exim4-base: please handle nearly-empty logfile in daily cronjob stats

Justin Pryzby justinpryzby at users.sourceforge.net
Sun Apr 20 20:21:38 UTC 2008


On Sun, Apr 20, 2008 at 09:34:04PM +0200, Marc Haber wrote:
> 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:
Hi Marc,

I don't think that helps or changes the situation at all.

 . eximstats generates an empty email, rather than either no mail at
   all, or an email that says just: "no mail activity in this
   interval".
 . mail gets an empty pipe and sends a warning to stderr (in a cronjob
   that'll end up going to the same place as before).
   $ sudo /etc/cron.daily/exim4-base
   **** No valid log lines read
   Null message body; hope that's ok

Either eximstats needs to be patched to handle the case of no matching
input lines, or it running it needs to be avoided in that situation.





More information about the Pkg-exim4-maintainers mailing list