Hi,

 

I have done a second try enabling each debug setting which is possible.
(http://www.sogo.nu/english/nc/support/faq/article/how-to-enable-more-verbos
e-logging-in-sogo.html)

After calling the sogo-tool command mentioned in the previous mail, I got
this:

 

Mar 23 14:54:47 sogo-tool [18630]: <0x0x1057ca0[SOGoCache]> Cache cleanup
interval set every 300.000000 seconds

Mar 23 14:54:47 sogo-tool [18630]: <0x0x1057ca0[SOGoCache]> Using host(s)
'localhost' as server(s)

2012-03-23 14:54:47.211 sogo-tool[18630] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base à_;²
filter Àx;² for attrs   :²

2012-03-23 14:54:47.211 sogo-tool[18630] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base  filter
Àx;² for attrs   :²

2012-03-23 14:54:47.215 sogo-tool[18630] -[NGLdapConnection
_searchAtBaseDN:qualifier:attributes:scope:]: search with at base Àx;²
filter Àx;² for attrs   :²

2012-03-23 14:54:47.222 sogo-tool[18630] MySQL4 connection established
0x0xed9ff0

2012-03-23 14:54:47.222 sogo-tool[18630] MySQL4 channel 0x0xfef9e0 opened
(connection=0x0xed9ff0,sogo)

2012-03-23 14:54:47.222 sogo-tool[18630] <MySQL4Channel[0x0xfef9e0]
connection=0x0xed9ff0> SQL: SELECT c_defaults FROM sogo_user_profile WHERE
c_uid = 'malte';

2012-03-23 14:54:47.222 sogo-tool[18630] <MySQL4Channel[0x0xfef9e0]
connection=0x0xed9ff0>   query has results, entering fetch-mode.

Aborted

 

So why do sogo-tool abort this operation? I cannot see any problem message
or hint according to the abortion. The only interesting thing is, that I am
using a MySQL 5 database, so why is the MySQL4 debugger integrated in this
command call?

 

Is there anybody having an idea what is going wrong here?

 

Best regards,

Malte

 

Von: Malte Brunnlieb [mailto:[email protected]] Im Auftrag von
[email protected]
Gesendet: Freitag, 16. März 2012 13:16
An: [email protected]
Betreff: [SOGo] JSON problems while importing sieve rules

 

Hi folks,

 

I am currently importing sieve rules into sogo using the sogo-tool.
Therefore I execute the following: ($...: variables that I have
instantiated)

 

sudo -u $sogoUser sogo-tool user-preferences set defaults $userToModify
$sogoUser:$pw SOGoSieveFilters '{"SOGoSieveFilters": [{"actions":
[{"method": "fileinto", "argument": "INBOX\/Test"}], "active": true,
"rules": [{"operator": "contains", "field": "from", "value":
"[email protected]"}], "match": "any", "name": "UserFilter"}]}'

 

All I get is:

 

<0x0x1c8f710[SOGoCache]> Cache cleanup interval set every 300.000000 seconds

<0x0x1c8f710[SOGoCache]> Using host(s) 'localhost' as server(s)

Aborted

 

I cannot see any problem with the example sieve rule and nothing is said
about an error.

Any suggestions?

 

Best regards,

Malte

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

Reply via email to