Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #100220

Re: Getting data out of Mozilla Thunderbird with Python?

From Michael Torrie <torriem@gmail.com>
Newsgroups comp.lang.python
Subject Re: Getting data out of Mozilla Thunderbird with Python?
Date 2015-12-09 23:23 -0700
Message-ID <mailman.106.1449728626.12405.python-list@python.org> (permalink)
References <mailman.74.1449598912.12405.python-list@python.org> <n48n4e$v96$1@dont-email.me> <56680c59$0$1591$c3e8da3$5496439d@news.astraweb.com>

Show all headers | View raw


On 12/09/2015 04:11 AM, Steven D'Aprano wrote:
> Maildir is also *much* safer too. With mbox, a single error when writing
> email to the mailbox will likely corrupt *all* emails from that point on,
> so potentially every email in the mailbox. With maildir, a single error
> when writing will, at worst, corrupt one email.
> 
> Thanks Mozilla, for picking the *less* efficient and *more* risky format as
> the default. Good choice!

Not so long ago, many filesystems were very poor at storing lots of
small files. For disk efficiency, storing them in one big file,
periodically compacting the file, was seen as a better way to go. After
all mbox format has been around for a very long time for certain reasons
(which no longer exist today). Maildir came later.  Back when hard
drives were smaller, it was also not uncommon to run out of inodes in a
file system on a server that had many small files.

Neither of these issues is much of a problem these days.  Ext4 added the
ability to store small files right in the inode, so internal
fragmentation (and wasting of space) isn't a big issue anymore.

It's good to know I can configure Thunderbird to use maildir for local
storage.  I'll have to make the change here.  Will make my backups a lot
easier and faster.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Getting data out of Mozilla Thunderbird with Python? Anthony Papillion <anthony@cajuntechie.org> - 2015-12-08 12:21 -0600
  Re: Getting data out of Mozilla Thunderbird with Python? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-08 19:42 +0100
    Re: Getting data out of Mozilla Thunderbird with Python? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-12-08 20:31 +0000
    META email [was Re: Getting data out of Mozilla Thunderbird with Python?] Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-12-09 18:43 +1100
  Re: Getting data out of Mozilla Thunderbird with Python? Christian Gollwitzer <auriocus@gmx.de> - 2015-12-09 09:03 +0100
    Re: Getting data out of Mozilla Thunderbird with Python? Steven D'Aprano <steve@pearwood.info> - 2015-12-09 22:11 +1100
      Re: Getting data out of Mozilla Thunderbird with Python? srinivas devaki <mr.eightnoteight@gmail.com> - 2015-12-09 19:36 +0530
      Re: Getting data out of Mozilla Thunderbird with Python? Chris Angelico <rosuav@gmail.com> - 2015-12-10 01:15 +1100
      Re: Getting data out of Mozilla Thunderbird with Python? Grant Edwards <invalid@invalid.invalid> - 2015-12-09 17:25 +0000
      Re: Getting data out of Mozilla Thunderbird with Python? Michael Torrie <torriem@gmail.com> - 2015-12-09 23:23 -0700
        Re: Getting data out of Mozilla Thunderbird with Python? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-12-10 14:26 +0100

csiph-web