List-name-sensitive rewrites

List-name-sensitive rewrites, $I, $O
Mailing lists defined in the MTA can have amn associated list name, list-name, established via the   LDAP attribute (or whatever LDAP attribute is named by the   MTA option), or via the   alias option, or via the &#x5b;LIST_NAME&#x5d; alias file named parameter.

List name sensitive rewrite checking is triggered, when rewriting addresses that have a list name set, by the presence of a  or   control sequence in the template part of the rule. The characters following the  or ,  up until either an at sign, percent sign, or subsequent  ,  ,  ,  ,   , or  , are interpreted as a list name. If the address being rewritten has an associated list name, then the list name specified must match that in a  rewrite rule, or must not match that in a    rewrite rule.

Note that if the address being rewritten has no associated list name, which would normally be the case for most addresses, then any list name check clauses in a rewrite rule are ignored.

See also:
 * alias_list_name Option
 * Alias file named parameters
 * ldap_list_name MTA Option
 * Mailing lists
 * Rewrite rule template substitutions and control sequences