Re: [opensuse] Handling larg email Inbox files



Thanks for all the replies.

Not wanting to enter the Mbox vs. Maildir debate -

But I thought I'd follow up with how I ended up solving this problem,
using a really clever utility called "ArchMbox", available at
SourceForge.

It's dead simple to install and use. With a simple command line
statement I was able to archive all mail older than a given date
interval, making the problem file small enough to handle in evolution.

thanks again,

Regis

On Sat, 2009-02-14 at 14:21 +0100, Sandy Drobic wrote:
Rajko M. wrote:

Also I changed default for new folders to mbox.

The point of mbox being faster is that you don't run whole a bunch of routines
that will open file, read a 1-2 KB, and then repeat that file after file.
Modern hard disks transfer speed is something like 50 MB/s, so for the
biggest mbox that has old mails from opensuse list and is 500 MB, computer
needs 10s.

time cat main > /dev/null

real 0m10.335s
user 0m0.044s
sys 0m1.884s

If I repeat the same command:
time cat main > /dev/null

real 0m1.414s
user 0m0.012s
sys 0m1.360s

KMail always needs 35s to switch to that folder, which means that it doesn't
use copy already present in memory. I haven't checked kde4-kmail.

Whoah, that's pretty miserable! Thunderbird uses indices that speed up
switching folders a lot. Though I am using imap, so I can't compare it to
local storage.

On my setup I have about 5.8 GB in my personal mailbox (via imap on server).
In my case it is a Cyrus imap, that I plan to switch to dovecot in the future.

Changing folders takes at most a few seconds, even if the folder contains more
than 40000 mails.

Though I can understand that for a personal mailbox on local storage mbox is
indeed a better solution than maildir. The I/O to access the mailboxes is much
less than for maildir.


--
Sandy

List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: IMAP server alternatives
    ... Personally I have had no issues with IMAP-UW, but the users in our office have had issues with the mbox format itself. ... Specifically they cannot store messages & subfolders within a folder. ... I saw a dramatic improvement in speed with both Thunderbird and Squirrelmail after switching from mbox to maildir. ...
    (freebsd-questions)
  • Re: [opensuse] Handling larg email Inbox files
    ... The point of mbox being faster is that you don't run whole a bunch of routines ... On my setup I have about 5.8 GB in my personal mailbox (via imap on server). ... Changing folders takes at most a few seconds, even if the folder contains more ...
    (SuSE)
  • Re: [SLE] KMail question
    ... >> format, not maildir, which strikes me as an insanely bloated way to ... > mbox and maildir store the exact same information, ... an mbox folder (the import function seems to ignore the global default ...
    (SuSE)
  • Re: Changing format of KMail Inbox
    ... created in Mbox format....) ... As mbox is 1 file per mail folder and Maildir ... mail (especially for updating status flags and removing messages from within a ...
    (uk.comp.os.linux)
  • Re: maildirs (was rolling Firefox back to 2.x
    ... Well, now, that may be - if it's "standard" though, somebody forgot to ... How did Postfix make this choice for you exactly? ... default setting for maildir delivery at the time. ... aware whether they're dealing with an mbox or a maildir. ...
    (Ubuntu)