get_outbound_tls_parameters
Name
get_outbound_tls_parameters — Allows implementors to override and control the usage of TLS on a per-message basis when delivering mail out of the system
Synopsis
#include "hooks/core/get_outbound_tls_parameters.h"
| int **get_outbound_tls_parameters** (
| closure, | |
| | msg, | |
| | params)
; | |
void * <var class="pdparam">closure</var>
;
ec_message * <var class="pdparam">msg</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 delivering mail out of 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.
- msg
-
An
ec_message
. For documentation of this data structure see “ec_message”. - params
-
An
ec_ssl_ctx_params
struct. 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.