Symptoms

Deliver into my Inbox and copy to ... Horde webmail filter does not work: new emails stay in inbox without getting copied to the target directory.

Cause

The behavior is acknowledged as a software issue POA-112127.

Resolution

Apply the following patch on the webmail node in order to add the needed functionality:

[root@horde ~]# diff -u /usr/local/pem/sysvhosts/webmail/webmail/496/ingo/lib/Script/imap.php.orig /usr/local/pem/sysvhosts/webmail/webmail/496/ingo/lib/Script/imap.php
--- /usr/local/pem/sysvhosts/webmail/webmail/496/ingo/lib/Script/imap.php.orig  2017-07-20 18:12:24.000000000 +0100
+++ /usr/local/pem/sysvhosts/webmail/webmail/496/ingo/lib/Script/imap.php   2017-07-20 18:11:53.000000000 +0100
@@ -202,6 +202,7 @@
             case INGO_STORAGE_ACTION_KEEP:
             case INGO_STORAGE_ACTION_MOVE:
             case INGO_STORAGE_ACTION_DISCARD:
+            case INGO_STORAGE_ACTION_MOVEKEEP:
                 require_once INGO_BASE . '/lib/IMAP/Search.php';
                 $query = new Ingo_IMAP_Search_Query();
                 foreach ($rule['conditions'] as $val) {

Internal content