TLSRPT_..._FAILURE(3)
π NAME π
tlsrpt_add_delivery_request_failure β bestie, this is the one that drops a failure into your current policy β¨
Oh and btw, the manual page name is TLSRPT_..._FAILURE(3) and the function itself lives in tlsrpt_add_delivery_request_failure. Yes, both. We contain multitudes π
π¦ SYNOPSIS π¦
#include <tlsrpt.h>
int tlsrpt_add_delivery_request_failure(struct tlsrpt_dr_t* dr,
tlsrpt_failure_t failure_code, const char* sending_mta_ip, const char*
receiving_mx_hostname, const char* receiving_mx_helo, const char*
receiving_ip, const char* additional_information, const char*
failure_reason_code)
Look at that parameter list. It's giving commitment. Eight whole arguments, no cap π«Ά
πΈ DESCRIPTION πΈ
okay so. tlsrpt_add_delivery_request_failure adds a failure to the current policy. That's the whole vibe. π
And the iconic part? You can add multiple failures within a policy. Not just one little oopsie β as many as you need. She's generous like that π
Now, the tea about some of those parameters: they may be NULL, and when they're NULL they get omitted in the datagram. So like, ghosted. Not present. Don't @ them, they literally aren't there π
β RETURN VALUE β
0β success, we ate, everything is perfect π- a combined error code β on failure π
And if you get that combined error code and you're sitting there like "...what does this mean bestie", you can analyze it with tlsrpt_strerror. Go ask her. She knows. π₯
π SEE ALSO π
man:tlsrpt_strerror[3]man:tlsrpt_error_code_is_internal[3]
π AUTHOR π
Boris Lohner π
and that's the whole page, bestie!! this gem came from the tlsrpt_add_delivery_request_fai... source, version dated 2026-05-12, filed under TLSRPT_..._FAILURE(3). go forth and log your failures responsibly π§β¨π
π¦ where this page comes from
- ubuntu stonking: libtlsrpt0-dev 0.5.1~rc1-2 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms