So, I just installed Mailborder v5 on the client. Mailborder using ClamAV for detecting viruses and the accuracy is very good. ClamAV on Mailborder has been customized and ready to use. So, when you install Mailborder, ClamAV will be included.
Unfortunately, when configuring ClamAV, the internet is not very good. So that, i found an error when the system configuring ClamAV:
Tue Jun 23 14:13:46 2020 -> ClamAV update process started at Tue Jun 23 14:13:46 2020 Tue Jun 23 14:13:46 2020 -> daily database available for download (remote version: 25851) Tue Jun 23 14:14:16 2020 -> ^Download failed (28) Tue Jun 23 14:14:16 2020 -> ^ Message: Timeout was reached Tue Jun 23 14:14:16 2020 -> ^getcvd: Can't download daily.cvd from https://database.clamav.net/daily.cvd Tue Jun 23 14:14:16 2020 -> Trying again in 5 secs...
This problem can be happened cause ClamAV database failed to download and it’s also happened depend on your internet connection.
So that, i stop the ClamAV services using
systemctl stop clamav-freshclam. And run
freshclam manually. But also found the same error.
To solve this, we have many different ways.
- Download the database manually, using wget or curl and place it on /var/lib/clamav/.
- Increase ClamAV timeout
Download the database manually is not good because ClamAV has many databases for viruses. you have to download it manually, it’s not good, trust me.
Best solution is number 2, increase ClamAV Timeout. Edit /etc/clamav/freshclam.conf and change this:
ReceiveTimeout 30 To this: ReceiveTimeout 300
Make sure you stop ClamAV
systemctl stop clamav-freshclam
Then run freshclam manually
Wait it, until download finished and start ClamAV.
systemctl start clamav-freshclam
Now, your ClamAV will not error again. Hope this help, Thank you!
If you are interesting to Mailborder 5, feel free to contact email@example.com, our team will give you the best price!