Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Ďalšie informácie
Otvorené

exact format of an mbox file

david.ledger

I'm using Thunderbird on Ubuntu 24 and have some messages in some mailboxes that have lost their headers. I'm trying to fix them.

Early (1980's command line mail & mailx) mbox files were pure text with messages delimited by a blank line followed by a line starting with 'From ' (or possibly 'From: '). When I open a Thunderbird mbox file in 'vi' it is 'converted', or so it says. I'm wondering what this 'conversion' is and why it's needed.

Please could someone tell me what the strict rule that delimits messages in a Thunderbird mbox file is, and what is it that 'vi' cannot handle that requires 'conversion'?

Thanks

153.3.1esr (64-bit) Thunderbird Meadow Thunderbird Snap for Ubuntuubuntu-snap-build - 1.0

I'm using Thunderbird on Ubuntu 24 and have some messages in some mailboxes that have lost their headers. I'm trying to fix them. Early (1980's command line mail & mailx) mbox files were pure text with messages delimited by a blank line followed by a line starting with 'From ' (or possibly 'From: '). When I open a Thunderbird mbox file in 'vi' it is 'converted', or so it says. I'm wondering what this 'conversion' is and why it's needed. Please could someone tell me what the strict rule that delimits messages in a Thunderbird mbox file is, and what is it that 'vi' cannot handle that requires 'conversion'? Thanks 153.3.1esr (64-bit) Thunderbird Meadow Thunderbird Snap for Ubuntuubuntu-snap-build - 1.0

Všetky odpovede (1)

I can see from examining a Thunderbird mbox folder file with a text editor (Notepad++) that each new message begins like this. It's plain ASCII text:

From - Thu Oct 08 16:39:34 2026 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000

Sample date, of course, but this shows the format.

The X-Mozilla-Status codes are defined here:

https://vincent.bernat.ch/en/x-mozilla-status

I notice from looking at a many-years-old folder, that the messages were separated with only "From ". But after Repairing and Compacting it, it now has the date and X-Mozilla headers added, which suggests to me that the format was changed sometime in the past, presumably to make it less fragile.

Položiť otázku

Ak chcete odpovedať na príspevky, musíte sa prihlásiť do svojho účtu. Ak ešte nemáte účet, položte novú otázku.