[Tickets #8014] Re: Script fault, when entering more than 4 email addresses in the filter blacklist

bugs at horde.org bugs at horde.org
Thu Feb 19 15:32:29 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8014
------------------------------------------------------------------------------
  Ticket             | 8014
  Updated By         | langmich at gmail.com
  Summary            | Script fault, when entering more than 4 email addresses
                     | in the filter blacklist
  Queue              | IMP
  Version            | 4.3.3
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


langmich at gmail.com (2009-02-19 10:32) wrote:

> 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.









More information about the bugs mailing list