Ldap_add_header MTA option

From Messaging Server Technical Reference Wiki
Jump to: navigation, search



Direct LDAP attribute name MTA options: ldap_add_header (LDAP attribute name)

The ldap_add_header MTA option specifies the name of the group LDAP attribute, by default mgrpAddHeader, which contains header lines to add to messagtes posted to the list. Such header lines might include, for instance, the List-*: header lines suggested in RFC 2369 (URLs for Mail List Commands through Message Headers).

See also the ldap_remove_header MTA option, for removing header lines from postings to the group or list.

For groups or lists defined via alias file or alias database (legacy configuration) or alias options (Unified Configuration), see instead the [HEADER_ADDITION] alias file named parameter or alias_header_addition alias option, respectively.

Use of mgrpAddHeader (or whatever LDAP attribute is named by ldap_add_header) is a very simple approach when unconditional additional of certain header lines is desired. For more complex requirements, consider setting a Sieve filter on the group or list (see the ldap_filter MTA option) that makes use of the Sieve editheader extension.


See also: