<?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>&quot;is&quot; matches for sieve aren&#039;t exact string matches</title> 
  <pubDate>Fri, 10 Apr 2026 18:48:35 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/5392</link> 
  <atom:link rel="self" type="application/rss+xml" title="&quot;is&quot; matches for sieve aren&#039;t exact string matches" href="https://bugs.horde.org/ticket/5392/rss" /> 
  <description>&quot;is&quot; matches for sieve aren&#039;t exact string matches</description> 
 
   
   
  <item> 
   <title>Our help desk has expressed dismay that the &quot;is&quot; match is de</title> 
   <description>Our help desk has expressed dismay that the &quot;is&quot; match is described as



   IS:  Will be considered to be true if the specified string matches the line

     exactly. Example: user@example.com is user@example.com



but, in reality, it&#039;s not an exact string match.  We have users that want to match strings that contain commas.   E.g.,  spam that has subjects like...



   Cats eat mice, stop them!



or more specfically...



   , stop them!



We&#039;re using Horde 3.0.12 and Ingo 1.0.2 in production, and using...



 [ Subject ] [ is ] [ , stop them! ]



in the rules screen, generates a sieve rule that looks like...



    if header :comparator &quot;i;ascii-casemap&quot; :is &quot;Subject&quot; [&quot;&quot;, &quot;stop them!&quot;]  {

         discard;

         stop;

    }



which matches all sorts of stuff it shouldn&#039;t.



In Horde 3.2-cvs and Ingo 1.2-cvs, we don&#039;t even get that much.



 [ Subject ] [ is ] [ , stop them! ]



generates...



   if header :comparator &quot;i;ascii-casemap&quot; :is &quot;Subject&quot; &quot;&quot;  {

        discard;

        stop;

   }



curiously, in both Ingo 1.0.2 and 1.2-cvs, the little pop-up that describes the rule when you hover over it in the rules management screen does describe the rule as the user intended..



   Subject is &quot;, stop them!&quot;

   Delete message completely

   [stop]



Mind you, I probably wouldn&#039;t create rules like this.. but users want what users want,  and the the rules like..



    is &quot;Subject&quot; &quot;&quot;



match everything.



We&#039;d like to see &quot;is&quot; match generate exact string matches for the sieve backend w/o having to escape anything.</description> 
   <pubDate>Wed, 23 May 2007 02:41:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5392#t33391</link> 
  </item> 
   
  <item> 
   <title>Funny, this is exactly the same like bug 3313 which you repo</title> 
   <description>Funny, this is exactly the same like bug 3313 which you reported a year ago, only with leading commas instead of trailing commas. Fixed in CVS and 1.1.4.</description> 
   <pubDate>Sun, 17 Jun 2007 22:42:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5392#t34333</link> 
  </item> 
   
  <item> 
   <title>This does seem to have fixed the issue.</title> 
   <description>This does seem to have fixed the issue.</description> 
   <pubDate>Fri, 22 Jun 2007 11:29:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/5392#t34573</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
