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
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 d/clamav- milter gets generated based on the clamav-milter.conf file
- after the package gets installed, /etc/logrotate.
- force a logrotate by running
/usr/sbin/logrotate -f /etc/logrotate. d/clamav- milter
- check /var/log/clamav for rotated clamav-milter.log.1