Bug#446346: exim4-config: Bit me too

Ben Wheeler ben at qolc.net
Thu Nov 1 00:04:44 UTC 2007


On Wed, Oct 31, 2007 at 07:51:08PM +0100, Marc Haber wrote:
> On Wed, Oct 31, 2007 at 06:28:14PM +0000, Ben Wheeler wrote:
> > This episode has raised an interesting point. It took me a couple of days 
> > to realise that mail had dried up and check the paniclog. Mail going down
> > is the one thing you won't be mailed about. So I've added
> > mail.err                        *
> > to /etc/syslog.conf in the hope that I won't be left in the dark
> > about it in future.
> 
> Does not work, since exim does not log through syslog.

Not exim, no, but cronjob /etc/cron.daily/exim4-base monitors paniclog 
and logs through syslog with priority mail.alert if there's something 
in there (probably more than once a day would be better but there's
other stuff in there too). I got these in /var/log/mail.err:

Oct 29 06:26:44 fermi exim4: ALERT: exim paniclog
/var/log/exim4/paniclog has non-zero size, mail system possibly broken
Oct 30 06:26:37 fermi exim4: ALERT: exim paniclog
/var/log/exim4/paniclog has non-zero size, mail system possibly broken
Oct 31 06:26:58 fermi exim4: ALERT: exim paniclog
/var/log/exim4/paniclog has non-zero size, mail system possibly broken

No use to me in there, since if mail is down I won't get my logwatch
mails :) So that extra line in syslog.conf will send it to every console
every morning until I get the rotation sorted out...

Ben






More information about the Pkg-exim4-maintainers mailing list