Sorry if this is a repeated mail.
Is logrotate meant to remove the logs? 
<snipped at logrotate.conf> 
daily

rotate 1

errors root

create

include /etc/logrotate.d
<logorate.d/syslog>

/var/log/maillog {
    rotate 1
    size=50k
    daily
    postrotate
        /usr/bin/killall -HUP syslogd
    endscript
}

Now I've got /var/mail/maillog and /var/mail/maillog.1
How do I make logrotate rm maillog.1 ? do I have to include it in
the postrotate section?


Regards,
koshy


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to