Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

unrar binary not extracting rar files in MailScanner #200

Closed
shawniverson opened this issue Jun 17, 2015 · 6 comments
Closed

unrar binary not extracting rar files in MailScanner #200

shawniverson opened this issue Jun 17, 2015 · 6 comments
Labels
Milestone

Comments

@shawniverson
Copy link
Member

https://forum.efa-project.org/viewtopic.php?f=13&t=1111

@shawniverson shawniverson added this to the 3.0.0.9 milestone Jun 17, 2015
@darky83
Copy link
Contributor

darky83 commented Jun 21, 2015

Need to figure out why 4.2.3 seems to work and 5.0.3 not rather use a newer version.

@shawniverson
Copy link
Member Author

I'm going to guess that the parameters aren't the same on each.

I will do some digging. If this is the case we may want to put a wrapper around unrar for MailScanner.

@shawniverson
Copy link
Member Author

Problem is output from unrar with the following command. MailScanner parses old format but not new format.

unrar v -p- test.rar

Version 4.20 beta 3:

UNRAR 4.20 beta 3 freeware Copyright (c) 1993-2012 Alexander Roshal

Archive /root/TestFiles.rar

Pathname/Comment
Size Packed Ratio Date Time Attr CRC Meth Ver

TestFiles/algorithmfiles/algorithmfile1/fly.intr.txt
134 87 64% 18-09-09 14:37 .....A. 7AB8F3DC m3b 2.9

Version 5.00 beta 3:

UNRAR 5.00 beta 3 freeware Copyright (c) 1993-2013 Alexander Roshal

Archive: /root/TestFiles.rar
Details: RAR 4

Attributes Size Packed Ratio Date Time Checksum Name
..A.... 134 87 64% 18-09-09 14:37 7AB8F3DC TestFiles/algorithmfiles/algorithmfile1/fly.intr.txt

@darky83
Copy link
Contributor

darky83 commented Aug 10, 2015

unrar v5 is also added to the efa repo as rpm package.

Issue should be fixed with the release of the next mailscanner version then (or shall we already backport?)

@shawniverson
Copy link
Member Author

May be a while before next mailscanner release, we may want to do that

shawniverson added a commit that referenced this issue Sep 6, 2015
@shawniverson
Copy link
Member Author

Backported in commit d074a47

shawniverson added a commit that referenced this issue Feb 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants