Thursday, October 6, 2022
Google search engine
HomeLinux TutorialsAllow Encrypted Attachment on Zimbra Mail Server

Allow Encrypted Attachment on Zimbra Mail Server

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:
Allow Encrypted Attachment on Zimbra Mail Server
Then select Global Settings:

Select now on AS/AV:

Uncheck the Antivirus Settings and un-check ‘Block encrypted archives’ option:
Allow Encrypted Attachment on Zimbra Mail

Then restart the Antivirus service:

zmclamdctl restart

From CLI (for Zimbra 8.5.x below)

[[email protected] conf]# chmod 740 /opt/zimbra/conf/
[[email protected] conf]# vi /opt/zimbra/conf/

Change line —> %%uncomment VAR:zimbraVirusBlockEncryptedArchive%%ArchiveBlockEncrypted yes
with —> %%comment VAR:zimbraVirusBlockEncryptedArchive%%ArchiveBlockEncrypted no

[[email protected] conf]# chmod 440
[[email protected] conf]# su - zimbra
[[email protected] ~]$ zmclamdctl restart
Stopping freshclam...done.
Stopping clamd...done.
Starting freshclam...done.
Starting clamd...done.
[[email protected] ~]$ exit
[[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 🙂


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online. to search or browse the published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or more ) as a token of appreciation.

Support Us

A systems engineer with experience in systems administration, cloud computing, systems deployment, virtualization, containers


Please enter your comment!
Please enter your name here

ten − eight =

- Advertisment -
Google search engine

Most Popular

Recent Comments