Discussion:
[Maia-users] Problem with unrar 5.x - files in archive are not checked
Fabio Volpi
2016-04-02 18:36:10 UTC
Permalink
In our new server we have installed unrar 5.x but with this version maia don' t recognize correctly the content of rar archives.

This is the output of log files with different rar version

OLD 3.X :
Apr 2 12:06:16 sd4 amavis[18313]: (18313-03) run_command: [18518] /usr/bin/unrar v -c- -p- -av- -idp -- /var/lib/amavis/amavis-20160402T120537-18313/parts/p003 </dev/null 2>&1
Apr 2 12:06:16 sd4 amavis[18313]: (18313-03) do_unrar: member: "test.js", size: 36

NEW 5.X:
Apr 2 12:11:23 sd12 maiad[6460]: (06460-02) run_command: [6530] /usr/bin/unrar v -c- -p- -- /var/lib/maia/tmp/maia-20160402T121059-06460/parts/p003 </dev/null 2>&1
Apr 2 12:11:23 sd12 maiad[6460]: (06460-02) do_unrar: no archive members, or not an archive at all

OLD:
Pathname/Comment
Size Packed Ratio Date Time Attr CRC Meth Ver
-------------------------------------------------------------------------------
test.js
36 33 91% 01-04-16 15:21 .....A. C3C153C3 m3b 2.9
-------------------------------------------------------------------------------
1 36 33 91%

NEW:
Attributes Size Packed Ratio Date Time Checksum Name
----------- --------- -------- ----- -------- ----- -------- ----
..A.... 36 33 91% 01-04-16 15:21 C3C153C3 test.js
----------- --------- -------- ----- -------- ----- -------- ----
36 33 91% 1

as you can see the name of test.js is in other place and i think that it is not checked by maia ( we have enabled banned file type and with unrar 5.x it doesn' t work ).

Is there a way for correct this behaviour and make maia working also with unrar 5.X ?

Thanks

Loading...