Difference between revisions of "Steps to fix RAR file scanning with Amavisd"

(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...")
 
Line 1: Line 1:
=== <h1>Steps_to_fix_RAR_file_scanning_with_Amavisd</h1> ===
+
=== <h1>Steps to fix RAR file scanning with Amavisd</h1> ===
 
<hr>
 
<hr>
 
<br>
 
<br>
 
 
<h2>Problem: </h2>  
 
<h2>Problem: </h2>  
 
Mails with .rar files are tagged as UNCHECKED mail.   
 
Mails with .rar files are tagged as UNCHECKED mail.   
  
 
<h2>Solution: </h2>
 
<h2>Solution: </h2>
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.    
+
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.<br> 
 
This issue is fixed in latest Amavisd version, and you can see .rar file handling details in official release-notes of Amavisd.  
 
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  
+
    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.   
+
Since ZCS v8.6 was built with amavisd-new-2.9.0 and due to amavisd bug all previous versions having this issue.<br>    
 
Where ZCS v8.7 shipped with latest Amavisd v2.10.1 and now .rar attachments are scanning without any problems.  
 
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.   
+
By default package managers (Yum, apt) installs latest unrar version 5.x.<br>  
 
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 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:-
+
To see complete description about Amavisd and rar file handling please visit following bugzilla links:-
      <pre>https://bugzilla.zimbra.com/show_bug.cgi?id=100997  
+
    https://bugzilla.zimbra.com/show_bug.cgi?id=100997  
https://bugzilla.zimbra.com/show_bug.cgi?id=96097 </pre>
+
    https://bugzilla.zimbra.com/show_bug.cgi?id=96097  
 +
 
 +
 
 +
 
 +
 
 +
Submitted by:  Heera Singh Koranga

Revision as of 13:27, 20 August 2017

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

    https://bugzilla.zimbra.com/show_bug.cgi?id=100997 
    https://bugzilla.zimbra.com/show_bug.cgi?id=96097 



Submitted by: Heera Singh Koranga

Jump to: navigation, search