<?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>Destination rule (To,Cc,Bcc,etc) doesn&#039;t work with the IMAP backend</title> 
  <pubDate>Fri, 10 Apr 2026 14:49:32 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7343</link> 
  <atom:link rel="self" type="application/rss+xml" title="Destination rule (To,Cc,Bcc,etc) doesn&#039;t work with the IMAP backend" href="https://bugs.horde.org/ticket/7343/rss" /> 
  <description>Destination rule (To,Cc,Bcc,etc) doesn&#039;t work with the IMAP backend</description> 
 
   
   
  <item> 
   <title>I notice that &quot;destination (To,Cc,Bcc,etc)&quot; rule of last Ing</title> 
   <description>I notice that &quot;destination (To,Cc,Bcc,etc)&quot; rule of last Ingo H3(1.2.1) doesn&#039;t work. Messages are not filtered.

I have to create separate rule for each header (To,Cc,Bcc) to make filter working.

I use IMP H3 (4.2), configured with an IMAP server as backend.



Thank you very much for every hints or patch</description> 
   <pubDate>Tue, 16 Sep 2008 13:40:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t48958</link> 
  </item> 
   
  <item> 
   <title>What ingo backend?</title> 
   <description>What ingo backend?</description> 
   <pubDate>Tue, 16 Sep 2008 15:18:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t48963</link> 
  </item> 
   
  <item> 
   <title>&gt; What ingo backend?



I (not the initial reporter) have th</title> 
   <description>&gt; What ingo backend?



I (not the initial reporter) have this problem with the procmail backend. It generates the following



##### Test #####

:0 

* ^To,Cc,Bcc,Resent-to:.*test@example\.com

&quot;$DEFAULT/.Test/&quot;



I doubt this will do what it is intended to do.</description> 
   <pubDate>Tue, 16 Sep 2008 15:35:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t48964</link> 
  </item> 
   
  <item> 
   <title>Duplicate of ticket #7117.</title> 
   <description>Duplicate of ticket #7117.</description> 
   <pubDate>Tue, 16 Sep 2008 15:46:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t48965</link> 
  </item> 
   
  <item> 
   <title>I use imap script as backend.



$backends[&#039;imap&#039;] = array(
</title> 
   <description>I use imap script as backend.



$backends[&#039;imap&#039;] = array(

    &#039;driver&#039; =&gt; &#039;null&#039;,

    &#039;preferred&#039; =&gt; &#039;&#039;,

    &#039;hordeauth&#039; =&gt; true,

    &#039;params&#039; =&gt; array(),

    &#039;script&#039; =&gt; &#039;imap&#039;,

    &#039;scriptparams&#039; =&gt; array(),

    &#039;shares&#039; =&gt; false

);



This is what is stored to mysql:



{i:0;a:4:{s:5:&quot;field&quot;;s:19:&quot;To,Cc,Bcc,Resent-to&quot;;s:4:&quot;type&quot;;i:1;s:5:&quot;match&quot;;s:8:&quot;contains&quot;;s:5:&quot;value&quot;;s:25:&quot;dummy-users@dummy.org&quot;;}}s:12:&quot;action-value&quot;;s:12:&quot;dummy-user&quot;;s:6:&quot;action&quot;;s:1:&quot;2&quot;;s:4:&quot;stop&quot;;s:1:&quot;1&quot;;s:5:&quot;flags&quot;;i:0;}}



Same behavior also fot other combined header rules, as:

{i:0;a:4:{s:5:&quot;field&quot;;s:52:&quot;To,Cc,Bcc,Resent-to,From,Sender,Reply-to,Resent-from&quot;;s:4:&quot;type&quot;;i:1;s:5:&quot;match&quot;;s:8:&quot;contains&quot;;s:5:&quot;value&quot;;s:25:&quot;dummy-users@dummy.org&quot;;}}s:12:&quot;action-value&quot;;s:12:&quot;dummy-user&quot;;s:6:&quot;action&quot;;s:1:&quot;2&quot;;s:4:&quot;stop&quot;;s:1:&quot;1&quot;;s:5:&quot;flags&quot;;i:0;}}



These filters don&#039;t apply.



If it is the same problem of procmail I apologize for duplication case.</description> 
   <pubDate>Wed, 17 Sep 2008 06:33:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t48979</link> 
  </item> 
   
  <item> 
   <title>&gt; Duplicate of ticket #7117.



I would only notice that is </title> 
   <description>&gt; Duplicate of ticket #7117.



I would only notice that is not really a &quot;duplicate&quot;.

maildrop and procmail was patched. IMAP was not patched...

</description> 
   <pubDate>Tue, 11 Nov 2008 13:32:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t50652</link> 
  </item> 
   
  <item> 
   <title>I noticed two things related to this.



1) It even affects </title> 
   <description>I noticed two things related to this.



1) It even affects uncommon headers such as Bcc since it calls extendedSearch which doesn&#039;t seem to work.

2) It&#039;s not specific to Destination rule because it&#039;s simply not separating the values. So it&#039;s looking for a field named &quot;To,Cc,Bcc...&quot; with the commas and all field names in there.



The point at which it fails seems to be quite possibly the &quot;php search&quot; section of the filtering. Either way, it hits extendedSearch in all cases that it failed for me. But regardless of what needs to be done with that to make extended searching work, it needs to deal with the comma separated field names</description> 
   <pubDate>Tue, 11 Nov 2008 16:41:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t50661</link> 
  </item> 
   
  <item> 
   <title>Is this still being looked at?</title> 
   <description>Is this still being looked at?</description> 
   <pubDate>Wed, 18 Mar 2009 23:19:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t53178</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Support comp</title> 
   <description>Changes have been made in CVS for this ticket:

Support composite header rules with IMAP backends (Bug #7343).
http://cvs.horde.org/diff.php/ingo/docs/CHANGES?rt=horde&amp;r1=1.55.2.137&amp;r2=1.55.2.138&amp;ty=u
http://cvs.horde.org/diff.php/ingo/lib/Script/imap.php?rt=horde&amp;r1=1.49.10.19&amp;r2=1.49.10.20&amp;ty=u</description> 
   <pubDate>Tue, 22 Dec 2009 13:29:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57306</link> 
  </item> 
   
  <item> 
   <title>Please try what I committed.</title> 
   <description>Please try what I committed.</description> 
   <pubDate>Tue, 22 Dec 2009 13:30:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57308</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Support comp</title> 
   <description>Changes have been made in Git for this ticket:

Support composite header rules with IMAP backends (Bug #7343).

http://git.horde.org/diff.php/ingo/docs/CHANGES?rt=horde-hatchery&amp;r1=72a91b55120f6e261521037bfd5c74c160d8bb33&amp;r2=32b619aa77fa023460409b7161417071d90040ee
http://git.horde.org/diff.php/ingo/lib/Script/Imap.php?rt=horde-hatchery&amp;r1=a04d974faf3fd7f46e2036a8917d2fab4091fbdb&amp;r2=32b619aa77fa023460409b7161417071d90040ee</description> 
   <pubDate>Tue, 22 Dec 2009 14:36:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57311</link> 
  </item> 
   
  <item> 
   <title>I tried in horde-webmail-1.2.5 replacing file from Git.
I s</title> 
   <description>I tried in horde-webmail-1.2.5 replacing file from Git.
I see blank page after login, and these errors in http log:

[Wed Dec 23 13:51:24 2009] [error] PHP Fatal error:  Access level to Ingo_Script_Imap::$_actions must be public (as in class Ingo_Script) in /var/www/html/horde-webmail-1.2.5/ingo/lib/Script/imap.php on line 381, referer: https://10.10.10.10/imp/login.php</description> 
   <pubDate>Wed, 23 Dec 2009 12:54:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57322</link> 
  </item> 
   
  <item> 
   <title>You can&#039;t use code from Git with the stable version. Use the</title> 
   <description>You can&#039;t use code from Git with the stable version. Use the patch for the FRAMEWORK_3 CVS branch instead.</description> 
   <pubDate>Wed, 23 Dec 2009 13:37:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57325</link> 
  </item> 
   
  <item> 
   <title>&gt; You can&#039;t use code from Git with the stable version. Use t</title> 
   <description>&gt; You can&#039;t use code from Git with the stable version. Use the patch 
&gt; for the FRAMEWORK_3 CVS branch instead.

I tried but I can&#039;t.
Diff file is rejected.
 My imap.php 1.2.4 original is
$Horde: ingo/lib/Script/imap.php,v 1.49.10.18 2009/01/06 15:24:37 jan Exp $

I tried also with 1.2.5, same result: I can&#039;t patch:

[root@ Script]# patch -p1 &lt; imap.php.diff
missing header for unified diff at line 8 of patch
can&#039;t find file to patch at input line 8
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|===================================================================
|RCS file: /horde/cvs/ingo/lib/Script/imap.php,v
|retrieving revision 1.49.10.19
|retrieving revision 1.49.10.20
|diff -p --unified=3 -r1.49.10.19 -r1.49.10.20
|--- imap.php   2009/12/21 23:19:05     1.49.10.19
|+++ imap.php   2009/12/22 13:29:47     1.49.10.20
--------------------------
File to patch: imap.php
patching file imap.php
Hunk #3 FAILED at 158.
Hunk #4 FAILED at 205.
Hunk #5 succeeded at 228 (offset 6 lines).</description> 
   <pubDate>Wed, 23 Dec 2009 14:44:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57327</link> 
  </item> 
   
  <item> 
   <title>Then download the complete file:
http://cvs.horde.org/h/cho</title> 
   <description>Then download the complete file:
http://cvs.horde.org/h/chora/co.php/ingo/lib/Script/imap.php?r=1.49.10.20&amp;p=1</description> 
   <pubDate>Wed, 23 Dec 2009 15:02:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57328</link> 
  </item> 
   
  <item> 
   <title>Thanks. I applied the new file.
It work at the same way of </title> 
   <description>Thanks. I applied the new file.
It work at the same way of previous one, for me.
Source,Destination,Participant category are not filtered.</description> 
   <pubDate>Wed, 23 Dec 2009 15:34:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57329</link> 
  </item> 
   
  <item> 
   <title>May be it is this bug, because i noticed the same problem wi</title> 
   <description>May be it is this bug, because i noticed the same problem with the Destination rule.

http://bugs.horde.org/ticket/8804</description> 
   <pubDate>Mon, 28 Dec 2009 10:50:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57346</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Fix argument</title> 
   <description>Changes have been made in CVS for this ticket:

Fix argument order (Bug #7343).
http://cvs.horde.org/diff.php/ingo/lib/Script/imap.php?rt=horde&amp;r1=1.49.10.20&amp;r2=1.49.10.21&amp;ty=u</description> 
   <pubDate>Wed, 30 Dec 2009 17:58:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57373</link> 
  </item> 
   
  <item> 
   <title>Works fine for me now.</title> 
   <description>Works fine for me now.</description> 
   <pubDate>Wed, 30 Dec 2009 17:59:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57374</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

MFB: Fix arg</title> 
   <description>Changes have been made in Git for this ticket:

MFB: Fix argument order (Bug #7343).

http://git.horde.org/diff.php/ingo/lib/Script/Imap.php?rt=horde-hatchery&amp;r1=32b619aa77fa023460409b7161417071d90040ee&amp;r2=9dee454a2f4a39655ae4fc40bb654caac03876d1</description> 
   <pubDate>Wed, 30 Dec 2009 18:04:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57376</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Support comp</title> 
   <description>Changes have been made in Git for this ticket:

Support composite header rules with IMAP backends (Bug #7343).

http://git.horde.org/diff.php/ingo/docs/CHANGES?rt=horde-git&amp;r1=72a91b55120f6e261521037bfd5c74c160d8bb33&amp;r2=32b619aa77fa023460409b7161417071d90040ee
http://git.horde.org/diff.php/ingo/lib/Script/Imap.php?rt=horde-git&amp;r1=a04d974faf3fd7f46e2036a8917d2fab4091fbdb&amp;r2=32b619aa77fa023460409b7161417071d90040ee</description> 
   <pubDate>Wed, 13 Jan 2010 00:18:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57683</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

MFB: Fix arg</title> 
   <description>Changes have been made in Git for this ticket:

MFB: Fix argument order (Bug #7343).

http://git.horde.org/diff.php/ingo/lib/Script/Imap.php?rt=horde-git&amp;r1=32b619aa77fa023460409b7161417071d90040ee&amp;r2=9dee454a2f4a39655ae4fc40bb654caac03876d1</description> 
   <pubDate>Wed, 13 Jan 2010 00:24:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t57688</link> 
  </item> 
   
  <item> 
   <title>Cannot send or receive email.  The message - There was an er</title> 
   <description>Cannot send or receive email.  The message - There was an error sending your message: Failed to send data [SMTP: Invalid response code received from server (code: 452, response: Message denied temporarily)] pops up above the page.  
All other out sources are woking fine, internet, network etc.
Is this a bug?</description> 
   <pubDate>Sun, 18 Apr 2010 22:37:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7343#t58561</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
