1

Topic: update clamav manually

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

hi
I am going to update clamav by downloading update file. in which path should I copy that file?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: update clamav manually

/var/lib/clamav/

3

Re: update clamav manually

ZhangHuangbin wrote:

/var/lib/clamav/

I download daily.cvd, while do not have daily.cvd in that path. should it be daily.cld?

4

Re: update clamav manually

Setup a vm which has internet access and run “freshclam” manually, then copy these files to your offline server.

5

Re: update clamav manually

ZhangHuangbin wrote:

Setup a vm which has internet access and run “freshclam” manually, then copy these files to your offline server.

Hi
I downloaded daily.cvd file from http://database.clamav.net/daily.cvd and copied to a server in which a IIS is running and daily.cvd can be downloaded(web server Ip Address:192.168.110.110). I can download daily.cvd from browser(firefox) in my Iredmail Server while the error message is remained after running freshclam as you can see here:
[root@localhost clamav]# freshclam
ClamAV update process started at Sat Feb 29 15:37:39 2020
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.101.2 Recommended version: 0.102.2
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
WARNING: getpatch: Can't download main-59.cdiff from 192.168.110.110
WARNING: getpatch: Can't download main-59.cdiff from 192.168.110.110
WARNING: getpatch: Can't download main-59.cdiff from 192.168.110.110
WARNING: Incremental update failed, trying to download main.cvd
WARNING: Can't download main.cvd from 192.168.110.110
Trying again in 5 secs...
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.101.2 Recommended version: 0.102.2
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
WARNING: getpatch: Can't download main-59.cdiff from 192.168.110.110
WARNING: getpatch: Can't download main-59.cdiff from 192.168.110.110
WARNING: getpatch: Can't download main-59.cdiff from 192.168.110.110
WARNING: Incremental update failed, trying to download main.cvd
WARNING: Can't download main.cvd from 192.168.110.110
Trying again in 5 secs...
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.101.2 Recommended version: 0.102.2
DON'T PANIC! Read https://www.clamav.net/documents/upgrading-clamav
WARNING: getpatch: Can't download main-59.cdiff from 192.168.110.110
WARNING: getpatch: Can't download main-59.cdiff from 192.168.110.110
ERROR: getpatch: Can't download main-59.cdiff from 192.168.110.110
WARNING: Incremental update failed, trying to download main.cvd
ERROR: Can't download main.cvd from 192.168.110.110
Giving up on 192.168.110.110...
Update failed. Your network may be down or none of the mirrors listed in /etc/freshclam.conf is working. Check https://www.clamav.net/documents/official-mirror-faq for possible reasons.