Topic: mail.log not written after archiving mail.log.bz2
I found, that after archiving mail.log in mail.log.bz2 I don`t see anything in the output of command "cat mail.log". Log starting written again after "service rsyslog restart". What happenеd? Here is /etc/logrotate.d/maillog:
root@mail:/etc/logrotate.d# nano maillog
create 0600 root root
# Use bzip2 for compress.
invoke-rc.d rsyslog reload > /dev/null
If I must add to end of its script string "service rsyslog restart"?
Get fast and professional support from iRedMail developers: