summaryrefslogtreecommitdiffstats
path: root/rules/regexp
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-03 18:05:20 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-03 18:05:20 +0000
commit3c4df8c25b8f207bfe4c0aacd53914e915ca3796 (patch)
tree4fb42368e78f04fadad473082c80e8eff27d6d00 /rules/regexp
parent76a4fa4c96109447fbaac4d438ece6a921ec8541 (diff)
downloadrspamd-3c4df8c25b8f207bfe4c0aacd53914e915ca3796.tar.gz
rspamd-3c4df8c25b8f207bfe4c0aacd53914e915ca3796.zip
[Feature] Add task:set_metric_action lua API method
rspamd_config:set_metric_symbol({table}) Set the value of a specified symbol in a metric. This function accepts table with the following elements: - `name`: name of symbol (string) - `score`: score for symbol (number) - `metric`: name of metric (string, optional) - `description`: description of symbol (string, optional) - `group`: name of group for symbol (string, optional) - `one_shot`: turn off multiple hits for a symbol (boolean, optional) - `flags`: comma separated string of flags: + `ignore`: do not strictly check validity of symbol and corresponding rule + `one_shot`: turn off multiple hits for a symbol - `priority`: priority of symbol's definition
Diffstat (limited to 'rules/regexp')
0 files changed, 0 insertions, 0 deletions