Hi all,

Allright ill get straight to the point with this one because its bothering me very much.

I have a postfix mailserver that works fine except for the logrotate.

syslog.conf
mail.* -/var/log/mail.log

logrotate.conf
/var/log/mail.log {
daily
rotate 7
compress
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}

So when cron does the logrotate, there is a new logfile but its empty. After i restart the syslogd it gets back to its normal logging.

What am i missing? All this works with CentOS, why is Ubuntu such a pain...