Bug 440040

Summary: Sieve editor does not save the script
Product: [Applications] kmail2 Reporter: Dmitri Koulikoff <kde>
Component: sieveAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: critical CC: montel
Priority: NOR    
Version First Reported In: Git (master)   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Can not save or check the syntax

Description Dmitri Koulikoff 2021-07-19 15:16:35 UTC
SUMMARY

When I change the script I can not save it (upload) nor check the syntax. 
I got the message «NO "Did not specify legal script data length"»


STEPS TO REPRODUCE
1. Open Settings -> Manage Sieve scripts
2. Open a script
3. Add a non empty line to it
4. Click "Check syntax".

OBSERVED RESULT

Error message «NO "Did not specify legal script data length"» appears


EXPECTED RESULT

Message «No errors found.» should appear


SOFTWARE/OS VERSIONS
Operating System: Slackware-current
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Kmail version: 5.17.3 (21.04.3)
IMAP version: cyrus-imapd-2.5.11-x86_64-1_SBo
Qt Version: 5.15.2
Kernel Version: 5.12.17 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630

ADDITIONAL INFORMATION

See IMAP version above.
Comment 1 Dmitri Koulikoff 2021-07-19 15:30:30 UTC
Created attachment 140190 [details]
Can not save or check the syntax
Comment 2 Laurent Montel 2021-07-29 13:51:42 UTC
Hi,
it seems that you script is very big no ?
How many lines ?
For a small script is it work ?
Comment 3 Dmitri Koulikoff 2021-07-29 15:16:06 UTC
(In reply to Laurent Montel from comment #2)
> Hi,
> it seems that you script is very big no ?

  Yes, the problem was with the IMAP server. After I've changed parameter "sieve_maxscriptsize:" from 192 to 250, all is OK. 

> How many lines ?

  250 means 250 kilobytes.

> For a small script is it work ?

  It schould ;-)
Comment 4 Laurent Montel 2021-07-29 15:32:35 UTC
ok cool. So I can close it.