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)
[[email protected] conf]# chmod 740 /opt/zimbra/conf/clamd.conf.in [[email protected] conf]# vi /opt/zimbra/conf/clamd.conf.in
Change line —> %%uncomment VAR:zimbraVirusBlockEncryptedArchive%%ArchiveBlockEncrypted yes
with —> %%comment VAR:zimbraVirusBlockEncryptedArchive%%ArchiveBlockEncrypted no
[[email protected] conf]# chmod 440 clamd.conf.in [[email protected] conf]# su - zimbra [[email protected] ~]$ zmclamdctl restart Stopping freshclam...done. Stopping clamd...done. Starting freshclam...done. Starting clamd...done. [[email protected] ~]$ exit logout [[email protected] conf]#
From CLI (for Zimbra 8.6.x above)
[[email protected] ~]# su - zimbra [[email protected] ~]$ zmprov mcf zimbraVirusBlockEncryptedArchive FALSE [[email protected] ~]$ 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 🙂