Steps to fix RAR file scanning with Amavisd

Steps to fix RAR file scanning with Amavisd

   KB 23347        Last updated on 2020-04-15  

(0 votes)


Mails with .rar files are tagged as UNCHECKED mail.


There is an issue with the Amavis code where unrar package is installed and amavisd is not able to check .rar attachments and adding UNCHECKED at the subject line.
This issue is fixed in latest Amavisd version, and you can see .rar file handling details in official release-notes of Amavisd.

Since ZCS v8.6 was built with amavisd-new-2.9.0 and due to amavisd bug all previous versions having this issue.
Where ZCS v8.7 shipped with latest Amavisd v2.10.1 and now .rar attachments are scanning without any problems.

By default package managers (Yum, apt) installs latest unrar version 5.x.
To prevent this issue on ZCS v8.6 and older versions we need to install unrar v4.x, because amavisd-new-2.9.0 is not working properly with unrar v5.0.x

To see complete description about Amavisd and rar file handling please visit following bugzilla links:-

Submitted by: Heera Singh Koranga
Verified Against: ZCS 8.7, 8.6, 8.5, 8.0.x Date Created: 2017-08-23
Article ID: Date Modified: 2020-04-15

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search