Domainsearchformat Option

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

The domainsearchformat option (available under mmp, imapproxy, popproxy, and vdomain) specifies a printf-style format string with which to construct Users/Groups LDAP queries for the user's mailhost when hosteddomains is enabled. If domainsearchformat is not set, then the searchfilter option will be used (regardless of whether hosteddomains is set). Valid escape sequences are:

%s (userid+virtualdomain)
%U (userid only)
%V (virtual domain only)
%C (client IP address)
%S (server IP address)
%D (client cert subject DN)
%o (original user as passed from client)

The default value is: (uid=%U)

See also: