DatabaseMirror
directive in the config file specifies the
database server freshclam
will attempt (up to MaxAttempts
times) to download the database from. The default database mirror
is database.clamav.net but multiple directives are allowed.
In order to download the database from the closest mirror you should
configure freshclam
to use db.xx.clamav.net where xx
represents your country code. For example, if your server is in "Ascension
Island" you should add the following lines to freshclam.conf
:
DNSDatabaseInfo current.cvd.clamav.net DatabaseMirror db.ac.clamav.net DatabaseMirror database.clamav.netThe second entry acts as a fallback in case a connection to the first mirror fails for some reason. The full list of two-letters country codes is available at http://www.iana.org/cctld/cctld-whois.htm