Sieve imap4flags extension

As of MS 6.3p1, the MTA supports the Sieve  extension of RFC 5232; the capability name is " ". This includes the " ", " ", and " " actions, and the " " test, as well as the " " argument for the " " and " " actions.

Note that as IMAP system flags always begin with a backslash character, , and as backslash is the quoting character in Sieve, when specifying such an IMAP system flag, the backslash in the flag name must itself be quoted with another backslash, e.g.: require "imap4flags"; keep :flags "\\Flagged"; An example of setting a user IMAP flag is: require "imap4flags"; if header :contains "Disposition-Notification-To" "&#x2a;@domain.com" { addflag "$MDNRequired"; } Note that as of Messaging Server 7p24 and 7.0.5,   supports expiring messages based on user flags.

See also:
 * log_imap_flags MTA Option
 * Sieve fileinto action
 * imexpire invoking spamfilter packages
 * Sieve supported extensions
 * Sieve filters