Bug 212147

Summary: sieve validator doesnt know about "setflag" action
Product: [Applications] kmail Reporter: scientes <scientes+kde-060d378dc33871a05b38>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 1.12.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description scientes 2009-10-28 08:47:38 UTC
Version:           1.12.2 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

The sieve validation (settings-->manage sieve scripts) reports the "setflag" command as invalid. This is part of RFC 5232

http://ietfreport.isoc.org/idref/rfc5232/
Comment 1 scientes 2009-10-28 08:48:28 UTC
If it decides a script is invalid, it cannot be uploaded.
Comment 2 scientes 2009-10-28 08:54:54 UTC
I am using dovecot's LDA Sieve (the newer version) http://wiki.dovecot.org/LDA/Sieve
Comment 3 scientes 2009-10-28 15:07:23 UTC
I needed to put

require ["imap4flags"]

in my header. Validation happens at managesieve level, not kmail.