Bug 440040 - Sieve editor does not save the script
Summary: Sieve editor does not save the script
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: sieve (show other bugs)
Version: Git (master)
Platform: Slackware Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-19 15:16 UTC by Dmitri Koulikoff
Modified: 2021-07-29 15:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Can not save or check the syntax (160.58 KB, image/png)
2021-07-19 15:30 UTC, Dmitri Koulikoff
Details

Note You need to log in before you can comment on or make changes to this bug.
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.