| /Q9601 /Q9602 /Q9603 /Q9604 /Q9605 /Q9606 /Q9607 /Q9608 /Q9609 |
Q9602
Question
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?
Answer
Here's one suggestion:
/var/log/exim/main.log {
create 644 exim exim
rotate 4
compress
delaycompress
}The sleep is added to allow things to close the log file prior to compression. You also need similar entries for the panic log and the reject log, of course.
| /Q9601 /Q9602 /Q9603 /Q9604 /Q9605 /Q9606 /Q9607 /Q9608 /Q9609 |
