Comment by mmooss
That's kind of the point of the Unix text stream philosophy? TB stores as text, and then you can use the best text search tool you have.
Do you use mbox or maildir, out of curiosity?
That's kind of the point of the Unix text stream philosophy? TB stores as text, and then you can use the best text search tool you have.
Do you use mbox or maildir, out of curiosity?
Thanks and good point about the structured data.
I ask about mbox (one file system file per Thunderbird folder - e.g., one file named Inbox containing all its messages) or maildir (one folder per TB folder, containing one file per message) because it affects search using outside tools that don't understand that folder structure.
I'm wondering how efficient they are: When you search, does grep return an Inbox mbox file at a certain line number, or a maildir file?
It seems to be mbox, one file per Thunderbird folder.
Thunderbird itself seems to build some kind of an index next to mbox files. But finding the relevant email in TB's files makes it much easier to locate and open in TB itself (if it's needed). But I'd heavily prefer it to not be this way.
> That's kind of the point of the Unix text stream philosophy? TB stores as text, and then you can use the best text search tool you have.
To some extent, yes. Though emails are structured text and a bare string search is far from an optimal search strategy.
> Do you use mbox or maildir, out of curiosity?
Whatever the Thunderbird default is.