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
Server Team, which is subscribed to dovecot in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to