[Bug 309816] [NEW] Include logrotate configuration

Ryan Lovett ryan at spacecoaster.org
Fri Dec 19 20:18:23 GMT 2008


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.



More information about the Ubuntu-server-bugs mailing list