nbecker@??? said:
} I want to use logrotate which is standard with RH5.2 linux to rotate
} my mail logs. Anyone worked out the logrotate config file that will
} do this?
Here's the one I use. Obviously your paths etc may vary (filter.log is
the log from the system filter).
Nigel.
# the sleep is added to allow things to close the logfile prior
# to compression.
/var/log/exim/main.log {
create 644 exim exim
rotate 4
compress
delaycompress
}
/var/log/exim/panic.log {
create 644 exim exim
rotate 4
compress
delaycompress
}
/var/log/exim/reject.log {
create 644 exim exim
rotate 4
compress
delaycompress
}
/var/log/exim/filter.log {
create 644 exim exim
rotate 4
compress
delaycompress
}
[ Nigel.Metheringham@??? - Systems Software Engineer ]
[ Tel : +44 113 207 6112 Fax : +44 113 234 6065 ]
[ Real life is but a pale imitation of a Dilbert strip ]
[ We're recruiting http://www.theplanet.net/profile/recruit.htm ]