[Users] Mbox import has failed.
Adrian
adrian at aeolian.org.uk
Sat Nov 14 15:27:38 CET 2020
I found some more non-text characters and removed them. And ran
unix2dos to correct the line endings.
The new version gives the same error, but like the first time, after a
few seconds the stats show that some messages were imported. 6491 this
time, an improvement, but there are 16469 messages in the mbox file.
To clarify my original question, is there a log or a verbose mode I can
turn on to give some insight about what Claws mail is failing on?
~/.claws/claws.log says nothing about the import and filtering.log just
shows the new messages being filtered.
Adrian
On Sat, 14 Nov 2020 13:36:01 +0000
Adrian <adrian at aeolian.org.uk> wrote:
> Sorry. What I mean is I get an Error box with the subject line, i.e.
> "Mbox import has failed".
>
> After the first time I later found that 5001 mails had imported.
> The .mbx file is pretty large. I then found the point in the file
> where import stopped. No obvious problems around there, but I created
> a file starting from a few mails later and tried to import that - with
> the same failure. This time no mails imported at all.
>
> Using a text editor on the mbx file reports invalid characters, so I
> piped it through strings -w. Same error.
>
> I found that some of the message delimiters, i.e. "From ???@???...."
> were concatenated onto the last line of the previous message so I
>
> I'm now chopping the file into smaller files. I'll start with just
> one mail or two, process of elimination.
>
> ....aaah. My line separators are \n and they should be \r\n. I'll
> repair, retry and repost if that was the reason - which I suspect it
> is.
>
> Thanks
>
> Adrian
>
> On Fri, 13 Nov 2020 21:04:49 +0000
> Adrian <adrian at aeolian.org.uk> wrote:
>
> > And I get this error.
>
> What error did you get?
>
> with regards
>
> Paul
>
> Begin forwarded message:
>
> Date: Fri, 13 Nov 2020 21:04:49 +0000
> From: Adrian <adrian at aeolian.org.uk>
> To: users at lists.claws-mail.org
> Subject: Mbox import has failed.
>
>
> I'm trying to import an mbox file (you guessed?)
>
> And I get this error.
>
> Now, I don't exactly blame Claws Mail for that. To be honest, I've
> faked up the mbox file by concatenating select individual mails from
> other mbox files, and may have got something wrong. The mails are not
> in date order, for one thing.
>
> But I really would like an idea of what Claws itself thinks is wrong!
>
> Any ideas?
>
> Adrian
More information about the Users
mailing list