client_auth
| Default | [None] |
|---|---|
| Value | Named List Filter |
| See Also | |
| Changes |
|
This settings filter provides a scope for client authentication settings for a particular authentication mechanism and declares the availability of that mechanism for client authentication. The mechanism will be used if support is also indicated by the server. This way, several different mechanisms can be configured, each with specific settings.
The filter name refers to the client_auth_mechanism setting.
The first configured mechanism that the server also advertises is used, so the
preferred mechanisms should be configured first. There is no fallback to the
next mechanism if the authentication itself fails.
Client authentication settings are expected to be scoped further by settings
filters for the various protocol clients that need authentication, such as
imapc and pop3c. See client authentication for an
overview.
Example:
mail_driver = imapc
mail_path =
imapc {
host = 127.0.0.1
port = 993
ssl = imaps
client_auth PLAIN {
authid = master-user
authzid = owner-user
password = frop
}
client_auth OAUTHBEARER {
authzid = owner-user
password = vF9dft4qmTc2Nvb3RlckBhbHRhdmlzdGEuY29tCg==
}
}