[kmail2] [Bug 439518] New: Deleting an active sieve script leaves sieve unfunctional (using Dovecot)
Tobias Leupold
bugzilla_noreply at kde.org
Mon Jul 5 15:20:34 BST 2021
https://bugs.kde.org/show_bug.cgi?id=439518
Bug ID: 439518
Summary: Deleting an active sieve script leaves sieve
unfunctional (using Dovecot)
Product: kmail2
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: sieve
Assignee: kdepim-bugs at kde.org
Reporter: tl at l3u.de
Target Milestone: ---
Dear devs,
if I delete a sieve script via KMail's managesieve interface, and the script is
active, it leaves sieve unfunctional afterwards.
What's happening is this:
Dovecot creates a USER.sieve script containing all active scripts, e. g.:
require ["include"];
include :personal "some-script";
include :personal "some-other-script";
Now if I delete "some-script", it's actually deleted, but USER.sieve is not
updated (and still contains 'include :personal "some-script";').
So next time an email is filtered, this happens:
mail log:
Jul 5 15:20:01 server dovecot: lda(user at domain)<123456>
<xxxxxxxxxxxxxxxxxxxxxx>: sieve: Failed to compile script
`/srv/sieve/user at domain/active-script.sieve' (view user logfile
`/srv/sieve/user at domain/active-script.sieve.log' for more information)
active-script.sieve.log:
sieve: info: started log at Jul 05 14:57:54.
USER: line 12: error: included personal script 'some_script' does not
exist.
USER: error: validation failed.
So, to avoid this, one has to FIRST deactivate the respectice script, so that
USER.sieve is updated and THEN delete the script. Or to manually fix USER.sieve
on the server, which is surely not what's intended.
So the question is now: Is this a KMail bug, a Doveceot bug, or is the server
misconfigured?!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list