Searchformat Option

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


The searchformat option (available under mmp, imapproxy, popproxy, and vdomain) specifies a printf-style format string with which to construct Users/Groups LDAP queries to locate a user in the directory (and in particular to determine the user's mailhost) when hosteddomains is disabled -- or if hosteddomains is enabled but domainsearchformat is not 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=%s)


See also: