MILTER ACTIONS mapping table

As of MS 8.0.2, the MILTER_ACTIONS can be used to augment or modify the behavior various milter actions. The basic probe format for this mapping is: tag&#x7c;number&#x7c;action which may then be followed by zero or more additional arguments depending on the action. The basic arguments are:



 tag 

 A tag value which is passed between successive calls to the MILTER_ACTION mapping. The tag value is initially empty. 

 number 

 The number of the spam filter slot of the milter issuing the action. 

 action 

 The milter action that invoked the mapping. 



At present the following milter actions call the MILTER_ACTIONS mapping:

ADDHEADER and INSHEADER support was added in MS 8.0.2.3.

The mapping result consists of metacharacters as well as a series of result strings separated by vertical bars. These strings are consumed by the various metacharacters in the order given below.



 $A </dt>

 Force the action action to ACCEPT. </dd>

 $T </dt>

 Set the milter tag to the specified string. </dd>

 $+^ </dt>

 Disable processing of subsequent spam filters. The specified string consists of a comma-separated list of spam filter index numbers. The specified filters with index values greater than the current filter are shut down and any results they have produced are discarded. </dd>

 $M (REJECT, TEMPFAIL, and REPLYCODE actions) </dt>

 Override the error message with the specified string. </dd>

 $M (ADDHEADER action) </dt>

 Override header name and/or value. One or two arguments may be supplied separated by a vertical bar. If a single argument is specified it replaces the header value. If two arguments are specified the first replaces the header name and the second the header value. If the name is left blank it remain unchanged. </dd>

 $M (INSHEADER action) </dt>

 Override header index, name and/or value. One to three arguments may be supplied separated by vertical bars. If a single argument is specified it replaces the header value. If two arguments are specified the first replaces the header name and the second the header value. If three arguments are specified the first specifies a new index, the second a new header name, and the third a new header value. If the name is left blank it remain unchanged. </dd>

</dl>

See also:
 * Milter spamfilterN_config_file
 * Milter implementation