Hi Christian,

I knew this issue, but I did not connect it with sogo-tool. I thought this only 
describes that a sieve script can only have a maximal length.
Thanks for this information.

Regards,
Malte

-----Original Message-----
From: Christian Mack [mailto:[email protected]] 
Sent: Donnerstag, 5. April 2012 09:41
To: [email protected]
Cc: [email protected]
Subject: Re: [SOGo] Maximal value length for user-preferences set defaults?

On 2012-04-04 23:09, Malte Brunnlieb wrote:
> Hi,
> 
> i am currently working on a perl script which reads existing roundcube
> sieve scripts and provides the rules to sogo by calling
> 
> sogo-tool user-preferences set defaults...
> 
> Unfortunaltely some sieve scripts are very large and everytime I want to
> insert the converted rules to sogo, I got a JSON parse exception. So I
> validated my inputs but nothing is wrong with it.
> I tried some rules which could be problematic, but all of them work. I
> recognized that at some point, where the parameter to be set for
> SOGoSieveFilters gets very large, the JSON parse exception occurs.
> 
> It seems like the input gets cut at some number of literals, isn't it?
> Is this a bug as I could not insert more than some number of literals as
> sieve scripts using sogo-tool?
> 


Not just with sogo-tool.
It also doesn't work when using the SOGo Webfrontend see Bug #1569
http://www.sogo.nu/bugs/view.php?id=1569

Should be fixed in the next GNUStep version.


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to