p-jones & Terry
with deference to Stefano I wrote this while you were replying
I took the cue from Terrys earlier message & external link.
Yes it seems freshclam.conf does get regenerated
I made a custom template & all works fine now using db.de.clamav.net
mkdir -p /etc/e-smith/templates-custom/etc/freshclam.conf
cp /etc/e-smith/templates/etc/freshclam.conf/DatabaseMirror /etc/e-smith/templates-custom/etc/freshclam.conf/
nano -w /etc/e-smith/templates-custom/etc/freshclam.conf/DatabaseMirror
edit to read
{
# Uncomment the following line and replace XY with your country
# code. See
http://www.iana.org/cctld/cctld-whois.htm for the full list.
# Default: There is no default, which results in an error when running freshclam
$OUT = "DatabaseMirror db.de.clamav.net\n";
# database.clamav.net is a round-robin record which points to our most
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
# not working. DO NOT TOUCH the following line unless you know what you
# are doing.
$OUT .= "DatabaseMirror db.de.clamav.net";
}
Save
Ctrl + o
signal-event email-update
refreshclam
Should work OK after that.
When external issues are resolved later, remove the custom template & run
signal-event email-update
I even wonder (not tried coz I'm busy enough) if it's just as simple/easier to change the db property for clamav
config show clamav
config setprop clamav DatabaseMirror db.de.clamav.net
signal-event email-update