[Tickets #5014] ingo and an or filters are only partially working
bugs@bugs.horde.org
bugs at bugs.horde.org
Mon Feb 19 13:58:18 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5014
-----------------------------------------------------------------------
Ticket | 5014
Created By | bennettj at johnbennettservices.com
Summary | ingo and an or filters are only partially working
Queue | Ingo
Version | 1.1.2
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Owners |
+New Attachment | ingo_filters.txt
-----------------------------------------------------------------------
bennettj at johnbennettservices.com (2007-02-19 13:58) wrote:
Sorry for the lame summary. When using ingo and setting an or rule, only
the last item in the list is being executed. I have created a rule that
states if from contains user2 or from contains user3 or from contains
user4 deliver to folder junkmail, stop checking if this rule matches.
When sending mail from user 2, 3, and 4, only the mail from user 4 gets
moved to the junkmail folder. If you switch the order around, then the
last item in the list will get executed.
When using an and rule, the rule will execute if your ands are matched,
but will also execute on the last item in the list as well. I have a rule
that states if subject contains one and subject contains 2 deliver to
folder trash, stop checking if this rule matches. Email with the word one
doesn't get moved, this is correct. Email with one and two in the subject
get moved, this is correct. Email with two in the subject get moved,
this is incorrect.
ingo conf.php:
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: ingo/config/conf.xml,v 1.13 2004/02/11 19:24:23 slusarz Exp $
include '/home/httpd/html/horde/conf.menu.apps.php';
$conf['storage']['driver'] = 'prefs';
$conf['storage']['maxblacklist'] = 0;
$conf['storage']['maxwhitelist'] = 0;
$conf['rules']['userheader'] = true;
$conf['rules']['usefolderapi'] = true;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
ingo backends.php:
/* IMAP Example */
$backends['imap'] = array(
'driver' => 'null',
'preferred' => 'mail.formytest.com',
'hordeauth' => true,
'params' => array(),
'script' => 'imap',
'scriptparams' => array()
);
I also tried driver = vfs, but I don't know enough about the vfs driver to
know if there would be more that would be needed.
A copy of my ingo filter statements from the horde_prefs table is
attached.
I am actually running this on SME Server 7.1, with is based on CentOs 4.4.
I have duplicated this on three separate test installs. Please let me
know what other information I can give to you.
Thanks,
John Bennett
More information about the bugs
mailing list