Comment 0 for bug 363804

Revision history for this message
Matt LaPlante (cybrmatt) wrote :

Binary package hint: clamav-milter

A fresh install of clamav-milter (0.95.1+dfsg-1ubuntu1) creates the following file in logrotate.d:

root@prizm:/tmp# cat /etc/logrotate.d/clamav-milter
none {
     rotate 12
     weekly
     compress
     delaycompress
     create 640 clamav adm
     postrotate
     /etc/init.d/clamav-milter reload-log > /dev/null
     endscript
     }

Unfortunately this file is very broken and just errors out whenever logrotate runs it:

root@prizm:/tmp# /etc/cron.daily/logrotate
error: clamav-milter:1 unknown option 'none' -- ignoring line
error: clamav-milter:1 unexpected text
error: clamav-milter:10 unexpected }
error: found error in file clamav-milter, skipping

--------------------------------

root@prizm:/tmp# /etc/init.d/clamav-milter reload-log
 * Usage: /etc/init.d/clamav-milter {start|stop|restart|force-reload|status}