Hi Henrik, thanks a lot for pointing me in the right direction. I will give it a try...
Cheers Jan ----- Original Message ----- | From: "Henrik K" <[email protected]> | To: [email protected] | Sent: Friday, April 17, 2020 8:46:33 AM | Subject: Re: amavisd and centos8 compatibility | On Wed, Apr 15, 2020 at 03:34:59PM +0200, Engels, Jan wrote: |> Hi Ralph, |> |> yes, the tools on a particular platform are independent of amavis but |> unfortunately I am currently also experiencing Problems with unrar and Amavis |> and in |> this case it seems that the problem lies on amavis side. I was running an older |> version |> of unrar (unrar-4.2.4-1.el7.x86_64) until a malware went through our system |> because the |> RARv5 archive containing the malware could not be unpacked. So I've tried to |> upgrade the |> unrar version in our systems in order to handle RARv5 archives. The problem is |> that after |> upgrading (to unrar-5.4.0-1.el7.x86_64) I am now getting another error, such as: |> |> amavis[21724]: (21724-01) (!)do_unrar: can't parse info line for "" -rw-r--r-- |> 68 72 105% 2020-04-15 15:01 6851CF3C eicar.com\n | | | In amavisd do_unrar function | .... | if ($unrarvers >= 5) { | local($1,$2,$3,$4,$5); | if ($ln !~ /^ ([* ]) \s+ \S+ \s+ (\d+) \s+ (\d+) \s+ | ( \d+ % | --> | <-- | <-> ) \s+ | \S+ \s+ \S+ \s+ \S+ \s+ (.*)/xs) { | do_log($testing_for_sfx ? 4 : -1, | "do_unrar: can't parse info line for \"%s\" %s", | $member_name,$ln); | | The "([* ]) \s+" part is faulty here, it's expecting additional whitespace | which isn't there. Just change the \s+ to \s*. | | Someone else can raise a bug..
