[kmail2] [Bug 407465] New: KMail 5.9.3 doesn't seem to set active sieve script

Joshua Charles Campbell bugzilla_noreply at kde.org
Sun May 12 18:30:10 BST 2019


https://bugs.kde.org/show_bug.cgi?id=407465

            Bug ID: 407465
           Summary: KMail 5.9.3 doesn't seem to set active sieve script
           Product: kmail2
           Version: 5.9.3
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: sieve
          Assignee: kdepim-bugs at kde.org
          Reporter: wz at wza.us
  Target Milestone: ---

SUMMARY

KMail's sieve script editor seems fine, but it doesn't ever seem to activate
the sieve scripts at all. It does put the active scripts in the USER script,
which is great, but it never sends the managesieve SETACTIVE command.

I am using Dovecot 2.3.4.1. In the default dovecot configuration the active
sieve script is stored as a symlink .dovecot.sieve -> sieve/USER.sieve, 
otherwise NO sieve scripts are active.

It is possible to work around this by connecting to the managesieve port,
logging in, and doing SETACTIVE "USER" yourself, so it is not a problem with
Dovecot.

STEPS TO REPRODUCE
1. Add an imap account in KMail with sieve enabled
2. Add a sieve script
3. Try to enable script

OBSERVED RESULT
No active sieve script: KMail lists all scripts as disabled and the symlink
that
dovecot creates to indicate the active sieve script is missing.

EXPECTED RESULT
Kmail should list scripts as enabled and the symlink that dovecot creates
to indicate the active sieve script should be present.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Debian Buster
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

Managsieve protocol transcript (only the data KMail sent) (as you can see KMail
sends no SETACTIVE command): 
PUTSCRIPT "newsletters" {159+}
require "fileinto";

#<From>: sales at dashvapes.com
if allof (header :contains "From" "sales at dashvapes.com")
{
    fileinto "Newsletters";
    stop;
}


PUTSCRIPT "USER" {270+}
# USER Management Script
#
# This script includes the various active sieve scripts
# it is AUTOMATICALLY GENERATED. DO NOT EDIT MANUALLY!
# 
# For more information, see http://wiki.kolab.org/KEP:14#USER
#

require ["include"];

include :personal "newsletters";
LISTSCRIPTS
PUTSCRIPT "USER" {270+}
# USER Management Script
#
# This script includes the various active sieve scripts
# it is AUTOMATICALLY GENERATED. DO NOT EDIT MANUALLY!
# 
# For more information, see http://wiki.kolab.org/KEP:14#USER
#

require ["include"];

include :personal "newsletters";
LISTSCRIPTS

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list