I suffer this bug with Debian Squeeze (6.0.4) Dovecot Version: 1:1.2.15-7 Logwatch Version: 7.3.6.cvs20090906-1squeeze1
I "fixed" it by simply configuring in /etc/dovecot/dovecot.conf log_path = /var/log/dovecot.err info_log_path = /var/log/dovecot.log This fixes the logwatch problem, but introduces another: lack of automatic rotation. All of the patches mentioned here seem to simply ignore the Dovecot entries in /var/log/mail.log. Logwatch doesn't tally anything Dovecot related. "Everyone" apparently ignores their Dovecot logs until there is a problem, then manually greps the files anyway. Dovecot entries in general simply dirty/clog the mail.log file, making it more difficult to grep precisely/only the Postfix or Exim lines one is looking for when troubleshooting an MTA problem. Due to these issues with the current default Dovecot logging location, I humbly suggest an alternative fix of larger scope. The Debian Dovecot maintainer(s) and maintainer(s) of the log rotation scripts should, at best: 1. Change the Dovecot package default dovecot.conf from the syslog mail facility to log_path = /var/log/dovecot.err info_log_path = /var/log/dovecot.log 2. Modify the default log rotation script to cover these new files. Or: Simply add log rotation of said alternative files if they exist and drop a note in dovecot.conf stating that using mentioned path/files will enable automatic rotation of the files. This gives administrators a more realistic option to choose the alternate logging location. I'd guess many avoid it because of the lack of log rotation issue. -- Stan -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

