[Users] Parsing mails imported from some archive done wrong

Thorsten Maerz info at netztorte.de
Sun Mar 7 12:56:39 CET 2021


Am Sun, 7 Mar 2021 11:30:00 -0000
schrieb Paul <claws at thewildbeast.co.uk>:

> On Sun, 7 Mar 2021 12:06:12 +0100
> Thorsten Maerz <info at netztorte.de> wrote: 
> 
> > That parser isn't perfect and sometimes splits the messages at the
> > wrong place.  
> 
> I don't think I've heard that before.

You can check by importing this archive:
https://lists.claws-mail.org/pipermail/users/2021-January.txt.gz

It misinterpretes it at line 1336:
  "From field. Its background turned bright blue. I right-clicked it to"

If a line starts with "From ", it is misinterpreted as the start of a
new mail.
You can find it as one of the mails, that don't show any header info
(because, it has no).

One could get around it by checking, if the next line contains a
(correct) header - if not, then it's not the start of a new mail.


Happens with claws-3.17.8 and 3.17.4.

-- 
Best regards,
Thorsten


More information about the Users mailing list