Re: [SLE] KMail question

From: Randall R Schulz (rschulz_at_sonic.net)
Date: 08/12/04

  • Next message: Jose Thadeu Cavalcante: "Re: [SLE] Javascript not working as regular user"
    To: suse-linux-e@suse.com
    Date: Wed, 11 Aug 2004 18:13:11 -0700
    
    

    Anders,

    On Monday 09 August 2004 13:58, Anders Johansson wrote:
    > On Monday 09 August 2004 22:36, Randall R Schulz wrote:
    > > I use mbox
    > > format, not maildir, which strikes me as an insanely bloated way to
    > > store email
    >
    > This statement requires elucidation
    >
    > mbox and maildir store the exact same information, except that mbox
    > *adds* an additional "From" header to signify envelope sender. So mbox
    > actually stores more data. Assuming you are using a sane file system -
    > like reiserfs for example - that is capable of filling up disk
    > completely and not leave little empty "tails" for half filled blocks, á
    > la ext2/3, it will consume *less* disk space. So how is it bloated
    >
    > ...

    I did a little experiment to gauge the internal fragmentation overhead of
    "mbox" vs. "maildir" storage in KMail when using an XFS file system. I
    had four small- to medium-sized mailboxes to import. I imported them into
    an mbox folder (the import function seems to ignore the global default
    folder type when creating a folder for import) and then copied the
    contents of those four folders to maildir folders. Then I used the "du"
    command to compute the amount of mass storage occupied by each of the
    eight mailboxes (four files for the mbox and four directories for the
    maildir).

    The difference is significant (output reordered to ease comparison):

    % du -s Mail/{,MD-}JayToRandy200?
    756 Mail/JayToRandy2001
    1052 Mail/MD-JayToRandy2001
    7352 Mail/JayToRandy2002
    9024 Mail/MD-JayToRandy2002
    8076 Mail/JayToRandy2003
    10832 Mail/MD-JayToRandy2003
    7460 Mail/JayToRandy2004
    8796 Mail/MD-JayToRandy2004

    The folders' message counts are:

    ...2001: 141 messages
    ...2002: 841 messages
    ...2003: 1192 messages
    ...2004: 684 messages

    The percentage increase of maildir storage of mbox is:

    ...2001: %39
    ...2002: %23
    ...2003: %34
    ...4004: %18

    _That_'s why I prefer mbox to maildir!

    Randall Schulz

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Jose Thadeu Cavalcante: "Re: [SLE] Javascript not working as regular user"

    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
      ... Not wanting to enter the Mbox vs. Maildir debate - ... 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. ... Changing folders takes at most a few seconds, even if the folder contains more ...
      (SuSE)
    • 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)
    • Re: MUA Filters vs Procmail filters[was] RE: Mailing list procmailrecipe
      ... >> Maildir format? ... >> Use tar to archive Maildir or mbox. ... >> If the only reason you are wanting to use Maildir format is because ... I think evolution can read mbox files locally, ...
      (Fedora)
    • Re: maildirmake
      ... >> I am faced with the daunting choice of mbox versus maildirs. ... after you set up the procmail script and setup either ... > you have made a maildir ... Upon installing getmail there was a configuration message basically saying ...
      (Debian-User)