From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] [bug] NoMemoryError on huge mbox
Date: Tue, 03 Jun 2008 19:42:36 -0700 [thread overview]
Message-ID: <1212547299-sup-1634@entry> (raw)
In-Reply-To: <188c71690806030109u23997504w93195ebc7efd22fa@mail.gmail.com>
Reformatted excerpts from Gabriel Landais's message of 2008-06-03:
> Here it is (for 10, same thing for 100 000!) :
>
> [glandais at server:~/.mozilla-thunderbird/4v86e51w.default/Mail/pops.codelutin.com
> ]
> $ ruby -e 'p File.open("Inbox").read(10)'
> "\000\000\000\000\000\000\000\000\000\000"
Ok, well, you can't really fault Sup for that one! It's just reading
until it gets a newline. :)
Still, why would Thunderbird produce a file full of zeros?
> Perhaps I just shouldn't use that mbox. I never understood how
> messages are saved in these directories.
Here's what the Thunderbird FAQ claims:
Your mail files are inside your profile (see the Profile Folder), in
the Mail and (if you use IMAP) ImapMail folders. Each mail folder
(Inbox, Sent, etc.) is stored as two files ? one with no extension
(e.g. INBOX), which is the mail file itself (in "mbox" format), and
one with an .msf extension (e.g. INBOX.msf), which is the index (Mail
Summary File) to the mail file. Tell the other program to import mail
from the file with no extension.
http://www.mozilla.org/support/thunderbird/faq
Which implies to me that Inbox was the correct file. But apparently not.
Are there any other files that look like normal mbox files?
--
William <wmorgan-sup at masanjin.net>
prev parent reply other threads:[~2008-06-04 2:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-01 17:26 Gabriel Landais
2008-06-03 2:34 ` William Morgan
2008-06-03 8:09 ` Gabriel Landais
2008-06-04 2:42 ` William Morgan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1212547299-sup-1634@entry \
--to=wmorgan-sup@masanjin.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox