28 Apr
2011
28 Apr
'11
8:51 p.m.
Thursday, April 28, 2011, 7:31:46 PM, Aaron 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?
You should be able to set up log rotation within your systems log setup.
By default, Dovecot should log to syslog using the mail facility which should be getting rotated already.
http://wiki.dovecot.org/Logging
-- Duane