Problem with draft mails when using offlineimap
Tomi Ollila
tomi.ollila at iki.fi
Mon Jun 13 22:30:01 PDT 2016
On Mon, Jun 13 2016, Daniel Kahn Gillmor <dkg at fifthhorseman.net> 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.mbox | 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= less -P%b notmuch.mbox ;: '(or press '=' 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 at 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 == 17717
$ ls -l patch
-rw-r--r--. 1 too 17717 Jun 14 08:10 patch
Tomi
PS: someoneā¢ made a patch to change http:// links to https:// -- who was
that again... >;) ?
>
> It'd be nice for someoneā¢ to put up a read-only notmuch-web interface 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 at notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
More information about the notmuch
mailing list