Home » Allow Encrypted Attachment on Zimbra Mail Server

Allow Encrypted Attachment on Zimbra Mail Server

  • by

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/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 🙂

Tags:

Leave a Reply

Your email address will not be published.

3 + ten =