[Dovecot] rotate logs ?

Nick Lunt nick.lunt at patech-solutions.com
Tue Jan 18 11:41:54 EET 2011



> -----Original Message-----
> From: dovecot-bounces+nick.lunt=patech-solutions.com at dovecot.org
> [mailto:dovecot-bounces+nick.lunt=patech-solutions.com at dovecot.org] On
> Behalf Of Frank Bonnet
> Sent: 18 January 2011 09:41
> To: Dovecot Mailing List
> Subject: [Dovecot] rotate logs ?
> 
> Hello
> 
> is there an internal  mechanism in dovecot to rotate logs daily ?
> 
> thanks

How about putting the something similar to the following in
/etc/logrotate.conf (on redhat/centos)

/var/log/dovecot.log {
        weekly
        minsize 1M
        create 0664 root postfix
        rotate 4
}

Cheers
Nick .

 
 

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 5795 (20110117) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


More information about the dovecot mailing list