Re: do_unrar: can't parse info line

Henrik K <[email protected]>
Newsgroups gmane.mail.virus.amavis.user
Message-ID <[email protected]>
On Fri, May 29, 2020 at 01:18:05PM +0200, Matus UHLAR - fantomas wrote:
> Hello,
> 
> I'm getting this message on my system:
> 
> 
> May 29 11:59:58 proxy2 amavis[7537]: (07537-13) (!)do_unrar: can't parse info line for "" *-rw-r--r--    599246    600832 100%  2020-05-29 11:59  86328207  2822.rar\n
> 
>          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);
> 
> I can guess that the first \s+ should be \s* since there's no space between
> * and the attributes...
> can anyone confirm?

It was just discussed last month:

https://lists.amavis.org/pipermail/amavis-users/2020-April/006045.html

Just change \s* as you said.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.