Skip to main content

get_outbound_tls_parameters

Last updated March 2020

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.

Parameters

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”.

Return Values

Caller is expected to return 0.

Threading

This hook will be called in the Scheduler thread.

Was this page helpful?