get_inbound_tls_parameters
Name
get_inbound_tls_parameters — Allows implementors to override and control the usage of TLS on a per-message basis when accepting mail into the system
Synopsis
#include "hooks/core/get_inbound_tls_parameters.h"
| int **core_get_inbound_tls_parameters** ( | closure, | |
| | mc, | |
| | ctx, | |
| | params); | |
void * <var class="pdparam">closure</var>;
message_construct * <var class="pdparam">mc</var>;
validate_context * <var class="pdparam">ctx</var>;
ec_ssl_ctx_params * <var class="pdparam">params</var>;
Description
Allows providers to override and control the usage of TLS on a per-message basis when accepting mail into the system.
Your hook provider is responsible for setting the fields of the structure accordingly using ec_ssl_set_ctx_param.
- closure
-
A pointer to the closure function.
- mc
-
A
message_construct. For documentation of this data structure see “message_construct”. - ctx
-
The
validate_contextstruct. For documentation of this data structure see “validate_context” - params
-
An
ec_ssl_ctx_paramsstruct. For documentation of this data structure see “ec_ssl_ctx_params”
Caller is expected to return 0.
This hook will be called in the Scheduler thread.