[Dovecot] rotate logs ?
Egbert Jan van den Bussche
egbert at vandenbussche.nl
Tue Jan 18 11:51:22 EET 2011
Same advise. Works flawlessly.
Egbert Jan
Op 18-1-2011 10:41, Nick Lunt schreef:
>
>
>> -----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