Hi,
I'm seeing some odd behaviors when rotating maillogs.
I have the following settings for the maillog:
# vi /etc/logrotate.d/postfix
/var/log/mail.log {
rotate 4
missingok
create 640 root adm
postrotate
#reload syslog
/etc/init.d/sysklogd reload
#reload postfix
/etc/init.d/postfix reload
endscript
nocompress
weekly
}
I don't want to compress my maillogs, yet they get compressed:
-rw-r----- 1 root adm 32661 2006-08-10 08:11 /var/log/mail.log
-rw-r----- 1 root adm 1086547 2006-08-10 06:26 /var/log/mail.log.0
-rw-r----- 1 root adm 171383 2006-08-09 06:25 /var/log/mail.log.1.gz
-rw-r----- 1 root adm 1336 2006-08-07 16:39 /var/log/mail.log.3
-rw-r----- 1 root adm 546 2006-08-07 16:38 /var/log/mail.log.4
-rw-r----- 1 root adm 0 2006-08-07 16:30 /var/log/mail.log.5
-rw-r----- 1 root adm 0 2006-08-07 16:24 /var/log/mail.log.6
Why is that, am i missing something?
Thanks in advance
/ Martin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]