Hello,

I am using Postfix on Debian. I have noticed that my mail logs are not
being rotated.

I see that there is no rule in my /etc/logrotate.d/ for rotating mail logs.

Which program's responsibility is it?

Is it supposed to come with Postfix, or is this the responsibility of
the operating system, or rsyslog ?

I can probably reuse some of the other rules to create new rule for
mail.log, but I am not sure about the postrotate command. Should postfix
be reloaded after logs are rotated, or rsysylog reloaded?

This is an example rule form other logs:

        postrotate
                invoke-rc.d rsyslog rotate > /dev/null
        endscript

Reply via email to