Forwarding via user LDAP attributes

To forward the mail of a user provisioned in LDAP, the most straightforward approach is to set the value  as a value of the user&#x27;s   LDAP attribute, and then set one or more   LDAP attributes on the user entry with  each having a value consisting of an address to which to forward the user&#x27;s mail. (Note that the mentioned value " "and these mentioned LDAP attributes are configurable via MTA options: see the ,  , and   MTA options, respectively.)

Note that forwarding a user&#x27;s mail, and delivering the mail locally, are not mutually exclusive options: a user may have multiple values of.

The questions of whether or not forwarded messages should be subject to "carryover" Sieve scripts and/or "opt in" to spam/virus filter package processing are controllable via the    MTA options.

See also:
 * ldap_delivery_option MTA Option
 * ldap_forwarding_address MTA Option
 * optin_user_carryover MTA Option
 * sieve_user_carryover MTA Option
 * Forwarding mail