Searchformat Option

The  option (available under ,  ,  , and  ) 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&#x27;s mailhost) when    is disabled -- or if   is enabled but   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:
 * hosteddomains Option
 * domainsearchformat Option
 * MMP and IMAP Proxy and POP Proxy and vdomain options
 * vdomain options