Skip to main content

Name

bounce_error_classify2 — Classify a message in the context of an out-of-band bounce

Synopsis

#include "misc/smtp_error_classify.h"

| int **bounce_error_classify2** ( | mess, |   | |   | orig_rcpt, |   | |   | ignorelist, |   | |   | limit); |   |

ec_message * <var class="pdparam">mess</var>; char ** <var class="pdparam">orig_rcpt</var>; const char * <var class="pdparam">ignorelist</var>; int <var class="pdparam">limit</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Classify a message in the context of an out-of-band bounce.

If the message is an RFC 3464 compliant MDN, the original recipient and disposition information will be extracted and used to drive the classification.

Otherwise, this function will fall-back to invoking the core_bounce_error_classify_hook(). The bounce_classifier module may implement this hook if MDN rules are configured.

The caller is responsible for releasing the memory returned for orig_rcpt using free(3).

Parameters

mess

the message to parse

orig_rcpt

the likely recipient of the original message that bounced

ignorelist

ignored and unused

limit

a byte-limit of message content to scan (default 8192) for non-RFC 3464 compliant messages.

Return Values

the smtp classification id

Was this page helpful?