Sieve address test

The " " test is a standard part of the Sieve language. However, MTA support for the " " test deserves a few special comments.

In regards to " " tests, note that the MTA supports the " " extension (capability name " ") defined in RFC 3598, which makes available " " and " " tagged arguments.

New in Messaging Server 7.0.5, the Sieve " " test supports several enhancements:



 The Sieve " " test now uses the MTA&#x27;s heuristic address parser (instead of the strict address parser). This helps " " tests work even when the overall header contains one or more syntax errors. 

 The " " test supports a private " " tagged argument. This " " tag accepts a positive integer as an argument. If " " is specified, then only the th address in each header field will be tested. Note that " " (selecting which address out of multiple addresses) may be combined with " "  (selecting which header line out of multiple header lines), to cause the test to operate on  a single address in a single header line. 

 The " " test supports two new, private, part modifiers,  " " and " ". The " " modifier causes the " " test to operate on the display-name phrase; note that the display-name phrase is the optional text appearing outside of and specifically in front of the actual address, the actual address being the part enclosed in angles. The " " modifier causes the " "  test to operate on any parenthetical comments that appear after an address. 

 The " " and " " modifiers defined for the " " test may also be used in " " tests (as well as " " tests). Similarly to when used with " ", the " " modifier specifies that MIME decoding should be performed; in the case of  " " and " " tests, the MIME processing in question is the decoding of MIME encoded-words (see RFC 2047 for the definition of encoded-words). " " is the default for " " and " " tests on " " and " " address parts. " " is the default for other sorts of " " tests. 



See also:
 * Sieve body extension
 * Sieve subaddress extension
 * Sieve date and index extensions
 * Sieve filters
 * Sieve supported extensions