6.0.0-alpha12
6/9/25

[#8014] Script fault, when entering more than 4 email addresses in the filter blacklist
Summary Script fault, when entering more than 4 email addresses in the filter blacklist
Queue Ingo
Queue Version 1.2
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester langmich (at) gmail (dot) com
Created 02/19/2009 (5954 days ago)
Due 02/19/2009 (5954 days ago)
Updated 02/20/2009 (5953 days ago)
Assigned 02/19/2009 (5954 days ago)
Resolved 02/20/2009 (5953 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/20/2009 10:23:14 AM Jan Schneider Comment #5
State ⇒ Duplicate
Reply to this comment
Duplicate of bug #7077.
02/20/2009 10:18:16 AM Jan Schneider Version ⇒ 1.2
Queue ⇒ Ingo
 
02/20/2009 07:03:34 AM langmich (at) gmail (dot) com Comment #4 Reply to this comment
Filters are Ingo, not IMP. Which version are you using?
Hello Jan,



thanks for answering. Sorry, my fault to classify it as IMP bug and 
not as Ingo bug.



The Version is:

*Horde Groupware Webmail Edition* *1.1.5* => Ingo H3 1.2



As I wrote in comment #2 - adding this 4 rows of code solves my problem.


02/19/2009 04:46:44 PM Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
Filters are Ingo, not IMP. Which version are you using?
02/19/2009 03:32:28 PM langmich (at) gmail (dot) com Comment #2 Reply to this comment

[Show Quoted Text - 9 lines]
I found the following solution in the net:



" In horde/ingo/lib/Script/sieve.php, I had to add (line 163):



  function addBlock($block)

  {

      $this->_blocks[] = $block;

  }



I found this in older revisions and it fixed my error, but I received

"There was an error activating the script. The driver said: Not

currently in TRANSACTION state" The first time I tried to activate my

sieve script.  Logged out and tried it again with success.

Is this code missing for a reason?

Or is the addblock call left over from something?"



The change of the code help to solve my problem.






02/19/2009 11:32:40 AM langmich (at) gmail (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Script fault, when entering more than 4 email addresses in the filter blacklist
Due ⇒ 02/19/2009
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
When entering more then 4 email addresses  (some includes wildcards, 
e.g. *@domain.xx) in the filter blacklist, I got an error from the 
script sieve.php:

Fatal error: Call to undefined method Ingo_Script_sieve::addblock() in 
/var/www/webmail.domain.xx/html/horde/ingo/lib/Script/sieve.php on 
line 294



The script is not builded and the filtering against email addresses 
from the blacklist is not working.

Saved Queries