msys.dp_config.cloudmark
Last updated March 2020
Scan messages using Cloudmark. To use this configuration item you must have the cloudmark module loaded. For more information see cloudmark Module.
Find below the sample excerpt included in the dp_config.lua
file.
require("msys.cloudmark");
msys.dp_config.cloudmark = {
scan = true,
score_threshold = 95,
isspam_disposition = "reject",
honor_whitelist = { "global" }
};
The elements of this configuration table are as follows:
- scan
-
Whether or not to scan using this engine.
- score_threshold
-
Set the threshold past which a message will be tagged as spam.
- isspam_disposition
-
Action to take when a message is determined to be spam. Legal actions are
reject
anddiscard
. - honor_whitelist
-
A table listing any applicable whitelists set in the
msys.dp_config.whitelist
table. - process_result
-
Define a function to process the scan result.
process_result
info is a table: { rc = rc, verdict = verdict }. For more information see “msys.dp_config.beik”.
Was this page helpful?