Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: Getting data out of Mozilla Thunderbird with Python? Date: Thu, 10 Dec 2015 01:15:15 +1100 Lines: 19 Message-ID: References: <56680c59$0$1591$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de e+8Mw0gHbsVMw+70AVFSxwN+OFFoqF9plsyTRF2+vqFg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'subject:Getting': 0.09; 'will,': 0.09; 'thu,': 0.15; 'corrupt': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'maildir': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'storing': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'dec': 0.23; 'header:In-Reply-To:1': 0.24; 'command': 0.26; 'error': 0.27; 'checking': 0.27; 'wonder': 0.27; 'message- id:@mail.gmail.com': 0.27; 'that.': 0.30; 'too.': 0.30; 'point': 0.33; 'file': 0.34; 'received:google.com': 0.35; 'on,': 0.35; 'received:209.85': 0.36; 'faster': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'why': 0.39; 'subject:with': 0.40; 'safe': 0.63; 'mailbox': 0.64; 'backup': 0.66; 'potentially': 0.67; 'chrisa': 0.84; 'to:none': 0.91; 'safer': 0.91; 'mailbox.': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=vCQAUBKPsSNYM1hRhdM1dbYkSNBPO73YX9ZLgxcNEDI=; b=t9pBtbEK3z5nI47RX1eKYOpV6tQlq8b4AlP5leNgavHQYP1PgfyY8ZxPJDJKCkFKBi 44Ax0VNnYtq5Gz/IkkRiC28ZIEa1NckHu4eRLkY0xgGsUSkhyOo+2RsMlA1j2lgzZ/tn iNurGZS3kJhiGYUKUK+7E9mRKkYQqAUXy4i1dKkCCGPfqnsZ4Re1Vw0/mrdKv3+rswr3 evlvsdMQaJrpmO93mqpB72gpEkV8K22S8LtRbqiH/zvZvwui/kH7zW3UyPy4IBCKm+LE stD9WhFRDQ+BPi98rrn5ZEXBRe+XhrtwVrY8iZGwgCX/8OnjpKzYdJH70b4Ly2FBet38 02Lw== X-Received: by 10.50.28.82 with SMTP id z18mr10213470igg.92.1449670515763; Wed, 09 Dec 2015 06:15:15 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100197 On Thu, Dec 10, 2015 at 1:06 AM, srinivas devaki wrote: > On Dec 9, 2015 4:45 PM, "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. >> > > may be with frequent backup of mbox file and storing checksum to each email > will be faster and safe too. > I wonder if they already do that. Yes, because we all know that frequent checking is better than prevention. That's why MySQL's myisamchk command makes it so much better than PostgreSQL's transactional DDL. ChrisA