do_unrar: can't parse info line

Henrik K hege at hege.li
Fri May 29 13:24:22 CEST 2020


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.



More information about the amavis-users mailing list