Public bug reported:

The dovecot package does not include a logrotate configuration. If
dovecot is configured to log to file rather than syslog its log file
will become unmanageable. There is a recommended configuration here:

http://wiki.dovecot.org/Logging

# dovecot SIGUSR1: Re-opens the log files.
/var/log/dovecot*.log {
  missingok
  notifempty
  delaycompress
  sharedscripts
  postrotate
    /bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2> /dev/null 
|| true
  endscript
}

This configuration will not interfere if dovecot is configured to use
syslog.

** Affects: dovecot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Include logrotate configuration
https://bugs.launchpad.net/bugs/309816
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to