Comment 6 for bug 363804

Revision history for this message
Imre Gergely (cemc) wrote :

By default clamav-milter doesn't log in a logfile, it uses syslog. Here's what I've done:

- purge the clamav-milter package if it's installed, then install it again
- remove it again without purging the config file
- edit the config file by adding the line

LogFile /var/log/clamav/clamav-milter.log

- apt-get install clamav-milter, keeping the local config file when it asks
- after the package gets installed, /etc/logrotate.d/clamav-milter gets generated based on the clamav-milter.conf file
- force a logrotate by running

/usr/sbin/logrotate -f /etc/logrotate.d/clamav-milter

- check /var/log/clamav for rotated clamav-milter.log.1