[Tickets #12938] Re: Wrong Sieve implementation of "Do not send responses to bulk or list messages"
noreply at bugs.horde.org
noreply at bugs.horde.org
Thu Jan 30 09:01:32 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12938
------------------------------------------------------------------------------
Ticket | 12938
Updated By | skhorde at smail.inf.fh-bonn-rhein-sieg.de
Summary | Wrong Sieve implementation of "Do not send responses to
| bulk or list messages"
Queue | Ingo
Version | 3.1.3
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
skhorde at smail.inf.fh-bonn-rhein-sieg.de (2014-01-30 09:01) wrote:
This patch makes the script works for one or more of the list headers
instead of all of them:
--- ingo/lib/Script/Sieve.php.orig 2014-01-30 09:47:50.000000000 +0100
+++ ingo/lib/Script/Sieve.php 2014-01-30 09:52:16.000000000 +0100
@@ -337,4 +337,8 @@
$headers['Mailing-List'] = null;
- $tmp = new Ingo_Script_Sieve_Test_Exists(array('headers'
=> implode("\n", array_keys($headers))));
+ foreach($headers as $header => $dummy) {
+ $tmp = new
Ingo_Script_Sieve_Test_Exists(array('headers' => $header));
$tests[] = new Ingo_Script_Sieve_Test_Not($tmp);
+ }
+# $tmp = new Ingo_Script_Sieve_Test_Exists(array('headers'
=> implode("\n", array_keys($headers))));
+# $tests[] = new Ingo_Script_Sieve_Test_Not($tmp);
$vals = array('headers' => 'Precedence',
More information about the bugs
mailing list