unrar-5 patch
Mark Martinec
Mark.Martinec+amavis at ijs.si
Fri Jun 20 19:47:07 CEST 2014
amavis17,
> I would like to contribute a patch to correctly parse the output of
> unrar
> v5. Without this, mail with rar attachments arrive as ***UNCHECKED***
> and
> in the logs are found lines like this:
>
> amavis[18309]: (18309-18) (!)do_unrar: can't parse info line for ...
> The output of unrar v changed in v5 from something like:
>
> Pathname/Comment
> Size Packed Ratio Date Time Attr CRC
> Meth Ver
> -------------------------------------------------------------------------------
> Contenuti/Contenuti.docx
> 33299 29956 89% 16-06-14 19:35 .....A.
> D487AD2Dm3b 2.9
>
> To something like:
>
> Attributes Size Packed Ratio Date Time Checksum Name
> ----------- --------- -------- ----- -------- ----- -------- ----
> ..A.... 33299 29956 89% 16-06-14 19:35 D487AD2D
> Contenuti/Contenuti.docx
> The patch: [...]
Great, thank you!
Applied, will be in 2.9.1.
Mark
More information about the amavis-users
mailing list