[Tfug] logrotate config for rotating mail logs

elemint at theriver.com elemint at theriver.com
Fri Jul 16 14:18:05 MST 2004


I have  added the below config  to the bottom of logrotate.conf  to 
rotate my postfix mail logs on my Debian system..  The problem is that 
these are still not being rotated daily, any suggestions?




       "/var/log/mail.log" /var/log/mail.log {
           daily
           rotate 365
           delaycompress
           create
           postrotate
            /utilities/mail.stop && /utilities/mail.start
        endscript
     }




More information about the tfug mailing list