From 2274e9fe290147d6541c71fbb034420057eae3c0 Mon Sep 17 00:00:00 2001
From: Stephan Bosch <stephan@rename-it.nl>
Date: Tue, 18 Dec 2007 23:11:18 +0100
Subject: [PATCH] Updated documentation.

---
 README                                |  2 +-
 src/lib-sieve/plugins/body/ext-body.c | 18 +++++++++++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/README b/README
index 759b583e4..dbb6dd1af 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 9ec62198c..c39e48657 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"
 
-- 
GitLab