Sieve addprefix and addsuffix extensions

The MTA&#x27;s private  and   actions have been supported since Messaging Server 7.0u3. No capability name (no " ") clause need be used before using these actions. These actions take a single string argument specifying text to be added at the beginning or end, respectively, of the first plain text part of a message. (Note that the Sieve language&#x27;s  syntax for entering long, multi-line strings, may be convenient for specifying prefix or suffix text.)

The effects of " " or " " are similar to the effects of the   or    group LDAP attributes (more precisely, the attributes named by the   and   MTA options), or the   and   alias options, or the         and  alias file named parameters. Note, however, that the Sieve actions work in any sort of Sieve, not just Sieves attached to groups.

If multiple Sieves are active and more than one prefix or suffix is specified, they are concatenated.

When logging of Sieve filter actions applied has been enabled via the  MTA option, note that only the name of the action, e.g., " " or " ", will be included in the logged field;  the actual text added to the message will not be logged (as it might be very long).

There is an example of use of " " in the discussion of the Sieve editheader extension.

See also:
 * alias_prefix_text Option
 * alias_suffix_text Option
 * Alias file named parameters
 * ldap_prefix_text MTA Option
 * ldap_suffix_text MTA Option
 * prefix_text_attr MTA Option
 * suffix_text_attr MTA Option
 * Sieve hierarchy
 * log_filter MTA Option
 * Sieve editheader extension
 * Sieve filters
 * Sieve supported extensions