rafaelmaeuer
10/2/2019 - 3:50 PM

How to Use logrotate to Manage Log Files

/var/log/mail.log {
  weekly
  rotate 5
  compress
  compresscmd xz
  create 0644 postfix postfix
}