Message Store expirerule options

There are two separate ways to configure the Message Store&#x27;s rules for expiring (purging) old (or otherwise undesired) messages. Global expiration rules can be defined via Message Store  options (or the corresponding configutil parameters in legacy configuration), as discussed below; however, the preferred (more flexible, and more performant) approach is to define expiration rules using   files. See the discussion of such files, as they allow more flexible, targetted rule sets (such as different per-user or per-partition rules), and they support additional criteria, and their use is more efficient for larger numbers of rules.

There are a number of options relating to the Message Store&#x27;s rules for expiring (purging) old (or otherwise undesired) messages. Note that a list of such expiration rule options and related topics may be obtained using the  command: msconfig&#x3e; apropos expirerule A Message Store  option may be set using a command such as  msconfig&#x3e; set store.expirerule.option-name option-value See also Message Store expire options for a list of additional Message Store options relating to message expiry (but which are not   options), and see the   Message Store option which can enable use of Sieve filter tests in expire rules, and the discussion of    invoking spamfilter packages. For the scheduling of automatic execution of, see the Scheduler expire task.

See also:
 * deleted Option
 * exclusive Option
 * folderpattern Option
 * foldersizebytes Option
 * messagecount Option
 * messagedays Option
 * messagesize Option
 * messagesizedays Option
 * seen Option
 * Message Store expire options
 * expiresieve Store Option
 * imexpire invoking spamfilter packages
 * expire task options
 * Message expiration
 * store.expirerule files
 * Message Store options