Skip to main content

Name

cloudmark_score — Analyze a message with Cloudmark Authority

Synopsis

cloudmark_score

Description

**Configuration Change. ** This feature is available starting from Momentum 3.0.23.

cloudmark_score returns a string containing the numeric score assigned to the active message by the Cloudmark Authority Engine. Additionally, all of the validation context variables set by the Cloudmark module will be set. For a list of these variables see “Cloudmark Runtime Usage”.

$score = cloudmark_score;
if ec_test :value "gt" :comparator "i;ascii-numeric" "${score}" "80" {
  ec_tarpit 10 "tarpit before reject";
  ec_action 554 "5.7.1 your mail has been rejected by policy";
}
Was this page helpful?