[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] logrotate problem
- Subject: [cobalt-users] logrotate problem
- From: "Mark Ward" <mark.ward@xxxxxxxxxxxxxx>
- Date: Mon May 20 19:06:01 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I am trying to rotate my maillog file every week and email the current log
file to a support address. I have added this entry to the file syslog in the
directory /etc/logrotate.d but nothing seems to be happening with it, can
anyone help
/var/log/maillog {
rotate 5
size=400k
mail support@xxxxxxxxxxxx
errors support@xxxxxxxxxxxx
postrotate
/usr/bin/killall -HUP syslogd
endscript
}
thanks
Mark