diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-20 14:16:55 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-09-20 14:16:55 +0100 |
commit | e55a24ad1443e02a9b4e909361dd3770b45ec196 (patch) | |
tree | 33829076eecb8938e092c5a24ae1e18bcc25f958 /src/plugins | |
parent | 9ac183e4ae31c1a5637dc371fbfff53a9adb2531 (diff) | |
download | rspamd-e55a24ad1443e02a9b4e909361dd3770b45ec196.tar.gz rspamd-e55a24ad1443e02a9b4e909361dd3770b45ec196.zip |
[Minor] MX checks should be one_shot
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/mx_check.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/plugins/lua/mx_check.lua b/src/plugins/lua/mx_check.lua index 0a41632f6..cdd099754 100644 --- a/src/plugins/lua/mx_check.lua +++ b/src/plugins/lua/mx_check.lua @@ -261,18 +261,21 @@ if opts then name = settings.symbol_bad_mx, score = 4.0, description = 'Domain has no working MX', - group = 'MX' + group = 'MX', + one_shot = true, }) rspamd_config:set_metric_symbol({ name = settings.symbol_good_mx, score = -0.1, description = 'Domain has working MX', - group = 'MX' + group = 'MX', + one_shot = true, }) rspamd_config:set_metric_symbol({ name = settings.symbol_no_mx, score = 1.5, description = 'Domain has no working MX', - group = 'MX' + group = 'MX', + one_shot = true, }) end |