1 (edited by jbou 2026-08-14 07:52:25)

Topic: after installation freshclam is unabled to download the db files

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

After installation, freshclam is unable to download its database files due to incorrect directory permissions. I temporarily fixed the issue by set clamupdate user owner of the /var/lib/clamav

chown clamupdate:clamupdate /var/lib/clamav
chmod 755 /var/lib/clamav
works fine, but I'm not sure if this is the best or recommended solution.

----

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