> And 1 more thing:
> when I try to upload _new_ script from kmail,
> small script is uploaded fine
> but large - don't

1st log (don't work):

tims(): incoming buffer: [HAVESPACE "123" 762]
tims(): command issued: cmd [HAVESPACE], val ["123" 762]
tims(): command looked up as commandtype 8
tims(): incoming buffer: [PUTSCRIPT "123" {762+}]
tims(): command issued: cmd [PUTSCRIPT], val ["123" {762+}]
tims(): command looked up as commandtype 9
misc.c, find_bounded: Found [123] of length [3] between '"' and '"' so next 
skip [4]
misc.c, find_bounded: Found [762] of length [3] between '{' and '+' so next 
skip [6]
timsieve.c, tims: Client sending script of length [762]
db.c,db_check_sievescript_quota: updating 2 sievescript quota with 762
dbmysql.c,db_query: executing query [BEGIN]
dbmysql.c,db_query: executing query [SELECT COUNT(*) FROM dbmail_sievescripts 
WHERE owner_idnr = 2 AND name = '@!temp-script!@']
dbmysql.c,db_query: executing query [INSERT into dbmail_sievescripts 
(owner_idnr, name, script, active) values (2, '@!temp-script!@', 'require 
\"fileinto\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\n', ]
dbmysql.c,db_query: executing query [COMMIT]
sortsieve.c, sort_getscript: Getting default script named [EMAIL PROTECTED]@]
dbmysql.c,db_query: executing query [SELECT script from dbmail_sievescripts 
where owner_idnr = '2' and name = '@!temp-script!@']
Error 12 when calling sieve2_validate: Sieve Error: script was not retrieved

timsieve.c, tims: Error inserting script 2


2nd log (work):

tims(): incoming buffer: [HAVESPACE "123" 743]
tims(): command issued: cmd [HAVESPACE], val ["123" 743]
tims(): command looked up as commandtype 8
tims(): incoming buffer: [PUTSCRIPT "123" {743+}]
tims(): command issued: cmd [PUTSCRIPT], val ["123" {743+}]
tims(): command looked up as commandtype 9
misc.c, find_bounded: Found [123] of length [3] between '"' and '"' so next 
skip [4]
misc.c, find_bounded: Found [743] of length [3] between '{' and '+' so next 
skip [6]
timsieve.c, tims: Client sending script of length [743]
db.c,db_check_sievescript_quota: updating 2 sievescript quota with 743
dbmysql.c,db_query: executing query [BEGIN]
dbmysql.c,db_query: executing query [SELECT COUNT(*) FROM dbmail_sievescripts 
WHERE owner_idnr = 2 AND name = '@!temp-script!@']
dbmysql.c,db_query: executing query [INSERT into dbmail_sievescripts 
(owner_idnr, name, script, active) values (2, '@!temp-script!@', 'require 
\"fileinto\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto 
\"INBOX\";\r\nfileinto \"INBOX\";\r\nfileinto \"INBOX\";\r\n', 0)]
dbmysql.c,db_query: executing query [COMMIT]
sortsieve.c, sort_getscript: Getting default script named [EMAIL PROTECTED]@]
dbmysql.c,db_query: executing query [SELECT script from dbmail_sievescripts 
where owner_idnr = '2' and name = '@!temp-script!@']
dbmysql.c,db_query: executing query [BEGIN]
dbmysql.c,db_query: executing query [SELECT COUNT(*) FROM dbmail_sievescripts 
WHERE owner_idnr = 2 AND name = '123']
dbmysql.c,db_query: executing query [UPDATE dbmail_sievescripts SET name = 
'123' WHERE owner_idnr = 2 AND name = '@!temp-script!@']
dbmysql.c,db_query: executing query [COMMIT]
timsieve.c, tims: Script successfully received


Length of 762 bytes - too large
743 bytes - good.

-- 
Oleg Lapshin

Reply via email to