[Dovecot] how to limit size of dovecot.log

Eduardo M KALINOWSKI eduardo at kalinowski.com.br
Fri Apr 29 15:05:02 EEST 2011


On Qui, 28 Abr 2011, Aaron C Johnson wrote:
> I've done some searching and maybe I'm missing something... I have a  
> remote dovecot and postfix server running on debian 5. I then have a  
> local fetchmail server that retrieves email from the dovecot server  
> via pop3s every 5 minutes.
>
> The problem is that the /var/log/dovecot.log file has grown to be  
> over 1.1GiB over a period of less than 1 year.
>
> Is there a way to limit the size of the dovecot.log file, or do I  
> have to run a monthly cron job or something to take care of it for me?

On Debian that should happen automatically, via the logrotate package.  
Probably installing it is enough.



-- 
For external use only.

Eduardo M KALINOWSKI
eduardo at kalinowski.com.br



More information about the dovecot mailing list