[#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/09 (384 days ago)
Due 02/19/09 (384 days ago)
Updated 02/20/09 (383 days ago)
Assigned 02/19/09 (384 days ago)
Resolved 02/20/09 (383 days ago)
Attachments
Milestone
Patch No

History
02/20/09 Jan Schneider Comment #5
State ⇒ Duplicate
Reply to this comment
Duplicate of bug #7077.
02/20/09 Jan Schneider Queue ⇒ Ingo
Version ⇒ 1.2
 
02/20/09 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/09 Jan Schneider Comment #3
State ⇒ Feedback
Reply to this comment
Filters are Ingo, not IMP. Which version are you using?
02/19/09 langmich (at) gmail (dot) com Comment #2 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.
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/09 langmich (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
Patch ⇒
Milestone ⇒
Queue ⇒ IMP
Due ⇒ 02/19/09
Summary ⇒ Script fault, when entering more than 4 email addresses in the filter blacklist
Type ⇒ Bug
Priority ⇒ 1. Low
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.