Allow Encrypted Attachment (PDF, ZIP, RAR) on Zimbra

[root@mail conf]# chmod 740 /opt/zimbra/conf/
[root@mail conf]# vi /opt/zimbra/conf/

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

[root@mail conf]# chmod 440
[root@mail conf]# su - zimbra
[zimbra@mail ~]$ zmclamdctl restart
Stopping freshclam...done.
Stopping clamd...done.
Starting freshclam...done.
Starting clamd...done.
[zimbra@mail ~]$ exit
[root@mail conf]#

Update (on Zimbra 8.6.0) :

[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.
[zimbra@mail ~]$ exit
[root@mail conf]#


2 Thoughts to “Allow Encrypted Attachment (PDF, ZIP, RAR) on Zimbra”

  1. Kevin

    I did it in a zimba 8.0.2, but when I try to send a .rar archive, it show this: ‘550 5.7.1 Attachment type not allowed. File “hosts.rar” has the unacceptable extension “rar”‘

    What can I do?

    1. Gia

      Hello Kevin,

      Can you put all error message from your zimbra.log when you send attachment with .rar extension.


Leave a Comment

Time limit is exhausted. Please reload CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.