Imexpire invoking spamfilter packages

New in Messaging Server 7.0.5, the  utility has a new   attribute to specify the name of an MTA channel. When this attribute is used, any source channel spam/virus filter package  configured on that channel will be applied to each message that is scanned by , and any   ,   ,  ,  ,  or  added headers will then be visible to the  Sieve expression used to  expire messages. (Of course, use of Sieve expressions to expire messages must also be enabled via the  Message Store option.)

The MTA options,  , and   may be used to establish context (Sieve values) for non-channel evaluations of Sieve filters, such as   invocations of spam/virus filter packages, though note that    is not needed for  &#x27;s spamfilter package invocation case (since in such a case  &#x27;s   attribute  is used to set the MTA channel).

For example, suppose that MTA channel invokes SpamAssassin,     which is then configured to perform a     to communicate its      results. In this scenario, an expression of the form require &#x5b;"comparator-i;ascii-numeric", "relational", "spamtest"&#x5d;; spamtest :value "ge" :comparator "i;ascii-numeric" "5"; should expire any message that received a spam score of 5 or more.

The new-in-7.0.5   attribute  is also especially relevant when using   to perform post-delivery spam/virus filtering. tells  to rescan those messages that have not been scanned for the specified number of hours.

See the Scheduler&#x27;s  task for configuration of automatic scheduling of executions of.

See also:
 * expire task options
 * store.expirerule file rulesets
 * Channels
 * sourcespamfilter1 Option
 * sourcespamfilter1optin Option
 * Sieve spamtest and virustest extensions
 * Sieve editheader extension
 * Sieve language
 * expiresieve Store Option
 * Sieve body extension
 * scan_channel MTA Option
 * scan_originator MTA Option
 * scan_recipient MTA Option
 * External filtering context MTA options
 * Message expiration
 * Spam and virus filtering