Kevin Coyner wrote:

Try it as follows:

/var/log/mail.log {
        weekly
        nocompress
        rotate 4
        missingok
        create 640 root adm
        postrotate
        #reload syslog
        /etc/init.d/sysklogd reload
        #reload postfix
        /etc/init.d/postfix reload
        endscript
}


As I read the man page for logrotate, in one of the examples it has
nocompress after endscript just as yours does.  The man explains it
by saying the log files will NOT be compressed if an error occurs on
more than one file.  I presume your files are not encountering
errors, therefore they are compressed because you have the
'nocompress' option following the 'endscript' option.

Kevin

Kevin,

Thanks, i will try with these settings over the weekend and see if it helps. I'll let you know after the weekend.

Thank you

/ Martin


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to