diff --git a/README b/README index 759b583e47331865eafad40991353267dc93dab7..dbb6dd1afc60f6067fa911c5815f68167a53b27c 100644 --- a/README +++ b/README @@ -130,10 +130,10 @@ Extensions and their implementation status: relational: full copy: full regex: full, but suboptimal + body: full, but text body-transform implementation is simple vacation: almost complete, but no support for required References header imapflags: flag management works, but flags are not stored include: full, but needs much more work - body: full, but needs some more work variables: planned (* also amend previously implemented extensions) notify: planned, mailto only (- very low priority) diff --git a/src/lib-sieve/plugins/body/ext-body.c b/src/lib-sieve/plugins/body/ext-body.c index 9ec62198cb6b0912b732ddd0dd18706ad6fd8c1e..c39e486571a6d8ccec14230573a7eb029074ab41 100644 --- a/src/lib-sieve/plugins/body/ext-body.c +++ b/src/lib-sieve/plugins/body/ext-body.c @@ -3,11 +3,27 @@ * * Authors: Stephan Bosch * Specification: draft-ietf-sieve-body-07 - * Implementation: full, but needs some more work + * Implementation: full, but text body-transform implementation is simple * Status: experimental, largely untested * */ +/* FIXME: + * + * From draft spec (07) with respect to :text body transform: + * + * "Sophisticated implementations MAY strip mark-up from the text + * prior to matching, and MAY convert media types other than text + * to text prior to matching. + * + * (For example, they may be able to convert proprietary text + * editor formats to text or apply optical character recognition + * algorithms to image data.)" + * + * We might want to do this in the future, i.e. we must evaluate whether this is + * feasible. + */ + #include "lib.h" #include "array.h"