<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Explicit :text in sieve body rule</title> 
  <pubDate>Fri, 10 Apr 2026 15:00:35 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8677</link> 
  <atom:link rel="self" type="application/rss+xml" title="Explicit :text in sieve body rule" href="https://bugs.horde.org/ticket/8677/rss" /> 
  <description>Explicit :text in sieve body rule</description> 
 
   
   
  <item> 
   <title>Should ingo/lib/Script/sieve.php put :text explicitly into b</title> 
   <description>Should ingo/lib/Script/sieve.php put :text explicitly into body checks?  RFC 5173 says that body transform &quot;can&quot; be applied (odd word-- not may or should) and that :text is the default (or that is, it &quot;can&quot; be the default?).  Cyrus sieve does default to :text.  Still, adding :text would clarify to humans reading the script that only text parts will be searched.  One-line diff below.

Forget this if there are sieve implementations that don&#039;t do body transform at all that would break on being told :text. 


--- 2125,2131 ----
      function toCode()
      {
          $code = &#039;body &#039; .
+           &#039;:text &#039; .
              &#039;:comparator &quot;&#039; . $this-&gt;_vars[&#039;comparator&#039;] . &#039;&quot; &#039; .
              $this-&gt;_vars[&#039;match-type&#039;] . &#039; 

</description> 
   <pubDate>Thu, 05 Nov 2009 15:22:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8677#t56531</link> 
  </item> 
   
  <item> 
   <title>Since it works fine as it is, I rather don&#039;t want to potenti</title> 
   <description>Since it works fine as it is, I rather don&#039;t want to potentially break some implementations. It&#039;s not meant for human consumption anyway.</description> 
   <pubDate>Sat, 07 Nov 2009 14:03:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8677#t56561</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
