Re: notmuch show decrypt into mbox format

Subject: Re: notmuch show decrypt into mbox format

Date: Wed, 20 Dec 2023 13:21:32 -0800

To: Sandra Snan,


From: David Bremner

Sandra Snan <> writes:

> This didn't decrypt:
>     notmuch show --format=mbox --entire-thread=true --decrypt=true
> The default text format to notmuch show does decrypt the parts just
> fine. I wanted the mbox format so I could use it with b4 to extract
> patches.

Hmm. The code (format_part_mbox in notmuch-show.c) is pretty simple, it
basically reads the raw messages (up to gunzip and '^From ' escaping. I
guess we could add a second code path that parsed and decrypted the
messages before re-serializing them again. At the moment I don't have a
clear idea how much code that would be.
notmuch mailing list --
To unsubscribe send an email to