[horde] Ingo and imap4flags

Simon Wilson simon at simonandkate.net
Wed Jul 16 08:09:08 UTC 2014


When trying to save a rule that sets a flag, I get this:

Script not updated: exception 'Ingo_Exception' with message 'There was  
an error activating the script. The driver said: exception  
'Horde_Exception_Pear' with message 'script errors: line 3:  
unsupported feature' in /var/www/horde/ingo/lib/Exception/Pear.php:36  
Stack trace: #0 /var/www/horde/ingo/lib/Transport/Timsieved.php(129):  
Ingo_Exception_Pear::catchError(Object(PEAR_Error)) #1  
/var/www/horde/ingo/lib/Script/Util.php(45):  
Ingo_Transport_Timsieved->setScriptActive(Array) #2  
/var/www/horde/ingo/lib/Script/Util.php(81):  
Ingo_Script_Util::activate(Array) #3  
/var/www/horde/ingo/lib/Basic/Rule.php(198):  
Ingo_Script_Util::update() #4  
/var/www/horde/ingo/lib/Basic/Base.php(48): Ingo_Basic_Rule->_init()  
#5 /var/www/horde/ingo/basic.php(30):  
Ingo_Basic_Base->__construct(Object(Horde_Variables)) #6 {main} Next  
exception 'Ingo_Exception' with message 'script errors: line 3:  
unsupported feature' in /var/www/horde/ingo/lib/Exception/Pear.php:36  
Stack trace: #0 /var/www/horde/ingo/lib/Transport/Timsieved.php(129):  
Ingo_Exception_Pear::catchError(Object(PEAR_Error)) #1  
/var/www/horde/ingo/lib/Script/Util.php(45):  
Ingo_Transport_Timsieved->setScriptActive(Array) #2  
/var/www/horde/ingo/lib/Script/Util.php(81):  
Ingo_Script_Util::activate(Array) #3  
/var/www/horde/ingo/lib/Basic/Rule.php(198):  
Ingo_Script_Util::update() #4  
/var/www/horde/ingo/lib/Basic/Base.php(48): Ingo_Basic_Rule->_init()  
#5 /var/www/horde/ingo/basic.php(30):  
Ingo_Basic_Base->__construct(Object(Horde_Variables)) #6 {main}' in  
/var/www/horde/ingo/lib/Script/Util.php:50 Stack trace: #0  
/var/www/horde/ingo/lib/Script/Util.php(81):  
Ingo_Script_Util::activate(Array) #1  
/var/www/horde/ingo/lib/Basic/Rule.php(198):  
Ingo_Script_Util::update() #2  
/var/www/horde/ingo/lib/Basic/Base.php(48): Ingo_Basic_Rule->_init()  
#3 /var/www/horde/ingo/basic.php(30):  
Ingo_Basic_Base->__construct(Object(Horde_Variables)) #4  
{main}[16/7/2014 17:33:27]

I notice that the script that it is trying to activate uses imap4flags  
to set the flag:

  1: # Sieve Filter
       2: # Generated by Ingo (http://www.horde.org/apps/ingo/)  
(Wednesday, July 16, 2014,  6:05:31 pm EST)
       3: require ["fileinto", "body", "imap4flags"];

So I set this line in ingo/config/backends.local.php:

$backends['sieve']['script'][Ingo::RULE_ALL]['params']['imapflags'] = true;

Restart httpd.

But, every time I try and save a rule with flags, Ingo still tries to  
set the script to use imap4flags, and it fails to activate it.

This was not a problem prior to 5.2 series upgrades, I have  
pre-existing rules that flag (presumably with imapflags) successfully.

Why is Ingo not honouring the instruction to use imapflags? What am I  
doing wrong? :)

Simon.

-- 
Simon Wilson
M: 0400 12 11 16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1339 bytes
Desc: PGP Public Key
URL: <http://lists.horde.org/archives/horde/attachments/20140716/84c7a70f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20140716/84c7a70f/attachment-0001.bin>


More information about the horde mailing list