Code: Select all
perl -p -i -e "s|create.*|create 664 $CLAMD_USER.$CLAMD_USER|" /etc/logrotate.d/clamav
I guess instead of 'root.root' you might see 'qscand.qscand' if you use qmail-scanner without running ASL./etc/cron.daily/logrotate:
error: clamav:9 unknown user 'root.root'
error: found error in /var/log/clamav/clamd.log , skipping
The fix is to replace line with this one:
Code: Select all
perl -p -i -e "s|create.*|create 664 $CLAMD_USER $CLAMD_USER|" /etc/logrotate.d/clamav