SpamfilterN string action MTA options

Spamfilter MTA options:    (URL)
The    MTA options specify the default Sieve filter actions to apply  whenever the correspondingly numbered spam/virus filter plugin returns a verdict string that does not have an explicit corresponding action set. That is, specify the Sieve filter actions to apply whenever a verdict string is returned by plugin N that does not have a       match for any M.

The default for the    MTA options is: data:, require "fileinto"; fileinto "$U"; Prior to MS 6.2p8, the (unexpanded) string specified as the value for such an option was limited to 256 characters (with truncation occurring if it was longer); as of MS 6.2p8, the limit is 1024 characters. The length of the string after any expansions are performed has been 1024 characters since at least MS 6.1.

When using a Milter, the    option must be set to: data:,$M So for instance: msconfig&#x3e; show spamfilter3_&#x2a; role.mta.spamfilter3_config_file = /opt/sun/comms/messaging64/config/miltertest.dat role.mta.spamfilter3_library = /opt/sun/comms/messaging64/lib/libmilter.so msconfig&#x3e; set spamfilter3_string_action "data:,$M" This setting is using the  substitution  (see the discussion of such substitutions in the discussion of the      MTA options) which means to use the detailed verdict string provided by the milter.

See also:
 * Sieve filters
 * spamfilter1_verdict_0 MTA Option
 * spamfilter1_action_0 MTA Option
 * Milter implementation
 * Spamfilter MTA options