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...
Actions
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
freshclam
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 sales@excellent.co.id, our team will give you the best price!
3 Comments
Fraz · November 24, 2020 at 8:56 am
Thankyou! This helped
cthulu666 · December 21, 2020 at 10:42 am
Easy fix thanks! ..how bout finding a way to report this to the Clamav team? I checked them out and found a fancy big corp. website, a github link, but no issue page. Many people will have issues with downloading 108mb in 30seconds.or less.
Dhenandi Putra · December 21, 2020 at 2:25 pm
Hi,
You can report this to the ClamAV on https://bugzilla.clamav.net
See how to report a bug on https://www.clamav.net/documents/how-to-report-a-bug