Re: [Dovecot] Log rotation?

2009-12-29 Thread Timo Sirainen
On Sun, 2009-12-27 at 23:02 -0800, Beto Moreno wrote: > postrotate > /bin/kill -USR1 `cat /var/run/dovecot/master.pid 2>/dev/null` 2> > /dev/null || true > endscript > } > > Well, my question is simple, Do we need to restart the service each > time logrotation runs? If you've configured

Re: [Dovecot] Log rotation?

2009-12-28 Thread Beto Moreno
On Sun, Dec 27, 2009 at 11:08 PM, Luigi Rosa wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Beto Moreno said the following on 28/12/09 08:02: > >>   I had read dovecot logging info, they say something about using log >> rotation to help us rotate our log, with this setup: > > With Ce

Re: [Dovecot] Log rotation?

2009-12-27 Thread Luigi Rosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Beto Moreno said the following on 28/12/09 08:02: > I had read dovecot logging info, they say something about using log > rotation to help us rotate our log, with this setup: With CentOS ad Dovecot logging via [r]syslog I simply add the dovecot log

[Dovecot] Log rotation?

2009-12-27 Thread Beto Moreno
  Hi people.   I had read dovecot logging info, they say something about using log rotation to help us rotate our log, with this setup: # dovecot SIGUSR1: Re-opens the log files. /var/log/dovecot*.log { missingok notifempty delaycompress sharedscripts postrotate /bin/kill -USR1 `cat