As something new the ClamAV team is gathering statistic on what their engine finds around the world. In order to submit the statistic from a SME server a few additions to the freshclam.conf and clamd.conf files must be added (see
http://www.clamav.net/support/faq-cctts/stats-howto). This should obviously be done via templates.
Create and open /etc/e-smith/templates/etc/freshclam.conf/SubmitDetectionStats and add the line:
SubmitDetectionStats /etc/clamd.conf
Create and open /etc/e-smith/templates/etc/clamd.conf/LogFile and add the line:
LogFile /var/log/clamav/clamdlog
Now we need to change the "LogTime" parameter to "yes". check first with - its properly "no"
db configuration getprop clamav LogTime
Now set it to "yes"
db configuration setprop clamav LogTime yes
Now we need to expand the templates:
expand-template /etc/clamd.conf
expand-template /etc/freshclam.conf
Now as the last thing activate it:
signal-event email-update
I actually suggest that this becomes the default configuration for SME servers going forward....
Enjoy,
Jesper