AW: [SOGo] Problems while importing sieve rules

2012-03-25 Thread m_brunnl
Hi,

 

I moved some steps forward. I eliminated the proxy problem when saving my
web preferences by resetting the sieve rules directly in the database.

Now I got another exception when calling something like this:

 

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:
us...@web.de}], match: any, name: UserFilter}]}'

 

Error:

2012-03-25 14:52:18.189 sogo-tool[29277] failure. Attempting with a renewed
password (no authname supported)

2012-03-25 14:52:18.189 sogo-tool[29277] Could not login '$USER' on Sieve
server: 0x0xa37d10[NGSieveClient]: socket=NGActiveSocket[0x0xa40ca0]:
mode=rw address=0x0xa43bf0[NGInternetSocketAddress]:
host=localhost.localdomain port=37434
connectedTo=0x0xa3c150[NGInternetSocketAddress]: host=localhost
port=2000: (nil)

 

I do not know why, but sogo-tool cannot login to the sieve server although
there is no problem when using or adding sieve rules via the web
preferences.

 

Any suggestions? Hope for help.

 

Best regards,

Malte

 

Von: Malte Brunnlieb [mailto:ma...@brunnlieb.net] Im Auftrag von
m_bru...@cs.uni-kl.de
Gesendet: Freitag, 23. März 2012 16:04
An: users@sogo.nu
Betreff: AW: [SOGo] Problems while importing sieve rules

 

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.00 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:ma...@brunnlieb.net] Im Auftrag von
m_bru...@cs.uni-kl.de
Gesendet: Freitag, 16. März 2012 13:16
An: users@sogo.nu
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:
us...@web.de}], match: any, name: UserFilter}]}'

 

All I get is:

 

0x0x1c8f710[SOGoCache] Cache cleanup interval set every 300.00 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

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

AW: [SOGo] Problems while importing sieve rules

2012-03-23 Thread m_brunnl
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.00 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:ma...@brunnlieb.net] Im Auftrag von
m_bru...@cs.uni-kl.de
Gesendet: Freitag, 16. März 2012 13:16
An: users@sogo.nu
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:
us...@web.de}], match: any, name: UserFilter}]}'

 

All I get is:

 

0x0x1c8f710[SOGoCache] Cache cleanup interval set every 300.00 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

-- 
users@sogo.nu
https://inverse.ca/sogo/lists