Clamav is really a liability at this point. Disabling it is safer. I mean, this (
https://www.cve.org/CVERecord?id=CVE-2025-20260) is a zero-click hack: just send someone a PDF. The chance of that happening is a lot higher than me opening a virus. In fact, I've been getting all sorts of pdf attachment as spam since a few weeks. Now I know why.
To disable:
Code: Select all
zmprov ms $(zmhostname) -zimbraServiceEnabled antivirus
zmcontrol restart # (or perhaps reboot)
To test if it's really off, you can send yourself an eicar. Actually sending one may require a Postfix server somewhere. I do the following:
have a file 'eicarbody.eml':
Code: Select all
------=_Part_29448_2072652119.1762457578183
Content-Type: multipart/alternative;
boundary="=_6d43d7cf-6dd2-40c5-91c7-0c0a5486b5da"
--=_6d43d7cf-6dd2-40c5-91c7-0c0a5486b5da
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
asdf
--=_6d43d7cf-6dd2-40c5-91c7-0c0a5486b5da
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html><body><div style="font-family: Arial; font-size: 12pt; color: #000000"><div>asdf</div></div></body></html>
--=_6d43d7cf-6dd2-40c5-91c7-0c0a5486b5da--
------=_Part_29448_2072652119.1762457578183
Content-Type: text/plain; name=eicar.txt
Content-Disposition: attachment; filename=eicar.txt
Content-Transfer-Encoding: base64
WDVPIVAlQEFQWzRcUFpYNTQoUF4pN0NDKTd9JEVJQ0FSLVNUQU5EQVJELUFOVElWSVJVUy1URVNU
LUZJTEUhJEgrSCoK
------=_Part_29448_2072652119.1762457578183--
Send with:
Code: Select all
cat eicarbody.eml | mail -a 'From: me@example.com' -a 'Content-Type: multipart/mixed; boundary="----=_Part_29448_2072652119.1762457578183"' -s 'eicar attachment' me@example.com