On Fri, May 21, 1999 at 03:37:02PM -0700, Joseph Carter wrote: > > ( I thought we had a consensus on this, but now people are asking > > if we should make it policy before logrotate is actually tested by > > using it in a few packages. ) > > It's been tested. If someone would like, I can make some of the packages > I've tested it on available to the general public. Attached is the logrotate config file I made for exim.. I've made it debian/exim.logrotate. It replaces the cron.daily in the package and gets installed into /etc/logrotate.d/exim and does just about what you'd expect it to do. It even supports the uncomment-this-to-mail-summary-to-postmaster thing found in the cron.daily script which I have not tested. -- Joseph Carter <knghtbrd@debian.org> Debian GNU/Linux developer PGP: E8D68481E3A8BB77 8EE22996C9445FBE The Source Comes First! ------------------------------------------------------------------------- <Knghtbrd> Granted, RMS is a fanatic, I don't deny this. I'll even say he's a royal pain in the arse most of the time. But he's still more often right than not, and he deserves some level of credit and respect for his work. We would NOT be here today without him.
# If you want the daily email status report, uncomment the prerotate below /var/log/exim/mainlog { rotate 10 daily missingok # prerotate # eximstats </var/log/exim/mainlog \ # | mail postmaster -s"Daily E-Mail Activity Report" # endscript } /var/log/exim/rejectlog { rotate 10 daily missingok } /var/log/exim/paniclog { rotate 10 daily missingok }
Attachment:
pgpotPRMmcBZF.pgp
Description: PGP signature