This is a bit rough and ready, but before I fine tune it, I want to make sure the overall idea of stripping envelope headers in notmuch-insert makes sense. The first patch is duplicated from id:20220205195215.166213-2-david@tethera.net I thought about a more ambitious version that would replace any existing "Return-Path" headers, but it seems like significantly more work (the current code is not line based), and not obviously better. Or maybe I missed the wording in the RFCs that talks about how MDAs should behave here. _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org