Steps to fix RAR file scanning with Amavisd

Revision as of 08:17, 16 August 2017 by Nbhagwat (talk | contribs) (Created page with "=== <h1>Steps_to_fix_RAR_file_scanning_with_Amavisd</h1> === <hr> <br> <h2>Problem: </h2> Mails with .rar files are tagged as UNCHECKED mail. <h2>Solution: </h2> There i...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Steps_to_fix_RAR_file_scanning_with_Amavisd



Problem:

Mails with .rar files are tagged as UNCHECKED mail.

Solution:

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.

   https://www.ijs.si/software/amavisd/release-notes.txt 

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 visit following bugzilla links:-

https://bugzilla.zimbra.com/show_bug.cgi?id=100997 
https://bugzilla.zimbra.com/show_bug.cgi?id=96097 
Jump to: navigation, search