home | help
TLSRPT_..._FAILURE(3)  tlsrpt_add_delivery_request_failure TLSRPT_..._FAILURE(3)

NAME
     tlsrpt_add_delivery_request_failure - adds a failure to the current policy

SYNOPSIS
     #include <tlsrpt.h>

     int   tlsrpt_add_delivery_request_failure(struct	tlsrpt_dr_t*   dr,   tl-
     srpt_failure_t failure_code, const char* sending_mta_ip,  const  char*  re-
     ceiving_mx_hostname,  const  char*  receiving_mx_helo,  const char* receiv-
     ing_ip,  const  char*  additional_information,  const  char*   failure_rea-
     son_code)

DESCRIPTION
     The tlsrpt_add_delivery_request_failure function adds a failure to the cur-
     rent policy. Multiple failures can be added within a policy.

     Some  of the parameters may be NULL and in this case will be omitted in the
     datagram.

RETURN VALUE
     The tlsrpt_add_delivery_request_failure function returns 0 on success and a
     combined error code on failure. The combined error  code  can  be	analyzed
     with the tlsrpt_strerror function.

SEE ALSO
     man:tlsrpt_strerror[3], man:tlsrpt_error_code_is_internal[3]

AUTHOR
     Boris Lohner

tlsrpt_add_delivery_request_fai... 2026-08-08		   TLSRPT_..._FAILURE(3)

home | help