Pete, Do you know how often the dovecot log rotates in the script you provided?
Eric On 10/10/2011 2:11 PM, Peter Peltonen wrote: > On Mon, Oct 10, 2011 at 11:07 PM, Carlos Herrera Polo > <[email protected]> wrote: >> In dovecot's page, there are an "script" that you can download and >> paste in your crontab file >> >> 2011/10/10, Eric Broch <[email protected]>: >>> List, >>> >>> Can anyone tell me how they're rotating the dovecot log file > On our CentOS5 server we are using just logrotate: > > [root@mail ~]# cat /etc/logrotate.d/dovecot > # 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 > } > > Seems to be working ok. > > Cheers, > Peter > > --------------------------------------------------------------------------------- > Qmailtoaster is sponsored by Vickers Consulting Group > (www.vickersconsulting.com) > Vickers Consulting Group offers Qmailtoaster support and installations. > If you need professional help with your setup, contact them today! > --------------------------------------------------------------------------------- > Please visit qmailtoaster.com for the latest news, updates, and packages. > > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------------------- Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! --------------------------------------------------------------------------------- Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
