Bug#202901: exim4: No logrotate cron job

Greg Kochanski gpk@kochanski.org, 202901@bugs.debian.org
Tue, 21 Dec 2004 23:21:29 +0000


Adam D. Barratt wrote:
> On Tue, 2004-12-21 at 20:37 +0000, Greg Kochanski wrote:
> 
>>Package: exim4
>>Version: 4.34-8
>>Followup-For: Bug #202901
> 
> 
> Subject: Bug#202901: exim4: No logrotate cron job
> 
> No, there isn't. There is, however, /etc/logrotate.d/exim4-base, which
> is installed by the exim4-base package.

Yes.  It contains the following:

gpk:bin$ cat /etc/logrotate.d/exim4-base
/var/log/exim4/mainlog /var/log/exim4/rejectlog /var/log/exim4/paniclog {
         daily
         missingok
         rotate 10
         compress
         delaycompress
         notifempty
         create 640 Debian-exim adm
}
gpk:bin$

> 
> 
>>I see the following code in /etc/cron.daily/exim
>>which should probably be in /etc/cron.daily/exim4-base:
> 
> 
> If /etc/cron.daily/exim (and by extension from the cron job
> posted /var/log/exim/) still exists after exim4 has been installed, then
> I'd suspect exim has only been removed, not purged.

That's probably true.   I doubt that I would have purged exim until
I was quite sure that exim4 was working well.   By then I probably
forgot.

So, why is that important?