Some of our clients told us about the problem of attaching document files from allow encrypted attachment zimbra webmail in HTML mode. They can upload pdf or image files like jpg and png. But not with document files like PDF, ZIP, RAR etc. some error like this
Emails are blocked with the notification VIRUS (Heuristics.Encrypted.PDF)
allow encrypted attachment zimbra
From Web UI
Go to Configure:
Then select Global Settings:
Select now on AS/AV:
Uncheck the Antivirus Settings and un-check ‘Block encrypted archives’ option:
Then restart the Antivirus service:
zmclamdctl restart
From CLI (for Zimbra 8.5.x below)
[root@mail conf]# chmod 740 /opt/zimbra/conf/clamd.conf.in [root@mail conf]# vi /opt/zimbra/conf/clamd.conf.in
Change line —> %%uncomment VAR:zimbraVirusBlockEncryptedArchive%%ArchiveBlockEncrypted yes
with —> %%comment VAR:zimbraVirusBlockEncryptedArchive%%ArchiveBlockEncrypted no
[root@mail conf]# chmod 440 clamd.conf.in [root@mail conf]# su - zimbra [zimbra@mail ~]$ zmclamdctl restart Stopping freshclam...done. Stopping clamd...done. Starting freshclam...done. Starting clamd...done. [zimbra@mail ~]$ exit logout [root@mail conf]#
From CLI (for Zimbra 8.6.x above)
[root@mail ~]# su - zimbra [zimbra@mail ~]$ zmprov mcf zimbraVirusBlockEncryptedArchive FALSE [zimbra@mail ~]$ zmamavisdctl reload Stopping amavisd... done. Stopping amavisd-mc... done. Starting amavisd-mc...done. Starting amavisd...done.
Please try to upload the document file using HTML mode to test permit encrypt file. The problem should have been resolved.
Good luck 🙂