[PATCH 0/2] Limit attachment check to stop before forwarded message

David Bremner david at tethera.net
Sat Dec 14 03:39:10 PST 2019


ekeberg at kth.se writes:

> From: Örjan Ekeberg <ekeberg at kth.se>
>
> This is a simple patch to notmuch-mua-attachment-check to make it stop
> searching for mathing "attachment"-words when reaching a forwarded
> message (or anything starting with "\n<#").  This avoids the false
> warnings that always occur when forwarding messages originating from
> MS-Exchange, since they contain a header "MS-Has-Attach:".
>
> Örjan Ekeberg (2):
>   emacs: limit search for attachment to stop at first mime-part
>   test: extend test of attachment warnings
>
>  emacs/notmuch-mua.el              | 25 ++++++++++++++-----------
>  test/emacs-attachment-warnings.el | 12 ++++++++++++
>  2 files changed, 26 insertions(+), 11 deletions(-)
>

Merged to master,

d


More information about the notmuch mailing list