From: Tomi Ollila Date: Tue, 14 Jun 2016 05:30:01 +0000 (+0300) Subject: Re: Problem with draft mails when using offlineimap X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d19ef6057efcf605d7757c8d7e82a33502ed3005;p=notmuch-archives.git Re: Problem with draft mails when using offlineimap --- diff --git a/df/75c56bb38bbb104394589a058c8128ad96f894 b/df/75c56bb38bbb104394589a058c8128ad96f894 new file mode 100644 index 000000000..79f126cf2 --- /dev/null +++ b/df/75c56bb38bbb104394589a058c8128ad96f894 @@ -0,0 +1,142 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 96A066DE02A7 + for ; Mon, 13 Jun 2016 22:30:37 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.568 +X-Spam-Level: +X-Spam-Status: No, score=0.568 tagged_above=-999 required=5 tests=[AWL=-0.084, + SPF_NEUTRAL=0.652] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id yxnxvLAfPrFW for ; + Mon, 13 Jun 2016 22:30:28 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id 776206DE0008 + for ; Mon, 13 Jun 2016 22:30:27 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 642E0100063; + Tue, 14 Jun 2016 08:30:02 +0300 (EEST) +From: Tomi Ollila +To: Daniel Kahn Gillmor , + Torben Hoffmann , notmuch@notmuchmail.org +Subject: Re: Problem with draft mails when using offlineimap +In-Reply-To: <87mvmp6t3u.fsf@alice.fifthhorseman.net> +References: <5759bd3e.8726c80a.2b5af.ffffd65b@mx.google.com> + <87shwmcdkv.fsf@alice.fifthhorseman.net> + <575c1f77.8905370a.5c586.ffffafcb@mx.google.com> + <87mvmp6t3u.fsf@alice.fifthhorseman.net> +User-Agent: Notmuch/0.22+54~gf8fd4ff (https://notmuchmail.org) Emacs/24.5.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Tue, 14 Jun 2016 05:30:37 -0000 + +On Mon, Jun 13 2016, Daniel Kahn Gillmor wrote: + +> On Fri 2016-06-10 13:59:34 -0400, Torben Hoffmann wrote: +>> The link you sent me does not work for me +> +> the link should work in notmuch-emacs if you already have a copy of the +> existing messages in your mailstore. if you subscribed to the mailing +> list after those e-mails were sent, you won't have the messages in your +> mailing list. +> +>> - even in the browser when looking through the patches, which I think +>> are here: https://notmuchmail.org/pipermail/notmuch/2016/022492.html +> +> yes, that's the right file. unfortunately, pipermail doesn't do a great +> job at mailing list archives or making them fetchable. +> +> If you can spare ~125MB, you could fetch the full mbox and put it in a +> maildir within your notmuch folder so you can read it. +> http://notmuchmail.org/archives/notmuch.mbox + +That suggestion gave me an idea... + +$ wget -O - --start-pos 126185821 http://notmuchmail.org/archives/notmuch.m= +box | head -c 17717 > 20160604-marks-brilliant-patch + +How did I get this. + +I already had notmuch.mbox of size 118691575 -- updated sep 15, 2015 so + +$ wget --continue http://notmuchmail.org/archives/notmuch.mbox + +and now: + +-rw-r--r--. 1 too too 126759646 Jun 14 03:57 notmuch.mbox + +(8Mb of new data...) + +Then some less(1) namual reading and... + +$ LESS=3D less -P%b notmuch.mbox ;: '(or press '=3D' when found right line)' + +then search (by pressing '/') for 001026-29392-1-git-send-ema (or any other +suitably long substring grabbed from id:87shwmcdkv.fsf@alice.fifthhorseman.= +net) + +When line found go up to the start of message (which was that 126185821). +Now we knew there was just one email in this patch, so it was easy to look +beginning of next email in the file... down to 126203538. +126203538 - 126185821 =3D=3D 17717 + +$ ls -l patch + +-rw-r--r--. 1 too 17717 Jun 14 08:10 patch + + +Tomi + +PS: someone=E2=84=A2 made a patch to change http:// links to https:// -- wh= +o was +that again... >;) ? + + +> +> It'd be nice for someone=E2=84=A2 to put up a read-only notmuch-web inter= +face to +> the notmuch mailing list archive in the future, though. ;) +> +>> How can I get to try out those patches? +> +> To try the patches, you'd need to get set up being able to build the +> source code; once you have a patch in an e-mail file, you can apply it +> with "git am". If you just have a raw patch, you can apply it with "git +> apply" instead. +> +> please see: +> +> https://notmuchmail.org/contributing/ +> +> for more details on working with the source and patches. +> +> Regards, +> +> --dkg +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> https://notmuchmail.org/mailman/listinfo/notmuch