msys.dp_config.commtouch
Scan messages using Commtouch. To use this configuration item you must have the commtouch module loaded. For more information see commtouch Module.
Find below the sample excerpt included in the dp_config.lua file.
require("msys.commtouch");
msys.dp_config.commtouch = {
scan = true,
spam_dispositions = {
confirmed = "reject",
bulk = "reject",
-- suspect = "reject"
},
virus_dispositions = {
virus = "reject",
high = "reject",
-- medium = "reject"
},
honor_whitelist = { "global" }
};
The elements of this configuration table are as follows:
- scan
-
Whether or not to scan using this engine.
- spam_disposition
-
Define the actions to take for the various dispositions. The dispositions are
unknown, suspect, bulk, confirmedandnone.- confirmed
-
The action to take when the scan result is
confirmed. The legal actions arerejectanddiscard. - bulk
-
The action to take when the scan result is
bulk. - suspect
-
The action to take when the scan result is
suspect.
- virus_disposition
-
Define the actions to take for the various dispositions. The dispositions are
nonvirus, medium, highandunknown.- virus
-
The action to take when the scan result is
virus. - high
-
The action to take when the scan result is
high. - medium
-
The action to take when the scan result is
medium.
- honor_whitelist
-
A table listing any applicable whitelists set in the
msys.dp_config.whitelisttable. - process_result
-
Define a function to process the scan result.
process_resultinfo is a table: { rc = rc, verdict = verdict }. For more information see “msys.dp_config.beik”.