Skip to main content

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.

Parameters

closure

A pointer to the closure function.

mc

A message_construct. For documentation of this data structure see “message_construct”.

ctx

The validate_context struct. For documentation of this data structure see “validate_context”

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?