cloudmark_score_af

March 26, 2020 Contributors

Name

cloudmark_score_af — Examine a message using Cloudmark ActiveFilter

Synopsis

#include "modules/validate/ec_cloudmark_api.h"

| int **cloudmark_score_af** ( | m, |   |
|   | acpt, |   |
|   | ctx, |   |
|   | af_id, |   |
|   | af_score_threshold); |   |

ec_message * <var class="pdparam">m</var>;
accept_construct * <var class="pdparam">acpt</var>;
validate_context * <var class="pdparam">ctx</var>;
const char * <var class="pdparam">af_id</var>;
unsigned int <var class="pdparam">af_score_threshold</var>;

Description

Cloudmark ActiveFilter tracks fingerprints of previously scanned and delivered messages while continually monitoring for new threat updates.

Parameters

m

The mail message to be scored. For more information about this struct see “ec_message”.

acpt

The accept construct. For more information about this struct see “accept_construct”.

ctx

The validation context. For more information about this struct see “validate_context”.

af_id

A string defining what the ActiveFilter message ID is.

af_score_threshold

The threshold over which to trigger an AF re-score.

Return Values

The Cloudmark score or minus 1 if the module instance is not available, i.e. it is not configured yet. For more information see cloudmark.

**Configuration Change. ** This feature is available as of version 3.4.