aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-27 17:17:04 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-06-27 19:37:13 +0100
commiteb96ca66490347642f5ab2065d4a8d159ed8b2b6 (patch)
tree8fe0bbf5640519ea20f9d926ef2d92ffc02279b1 /rules
parentc015992554f0ca75e46e355a3b07571bc185dc1a (diff)
downloadrspamd-eb96ca66490347642f5ab2065d4a8d159ed8b2b6.tar.gz
rspamd-eb96ca66490347642f5ab2065d4a8d159ed8b2b6.zip
[Minor] Add some descriptions
Diffstat (limited to 'rules')
-rw-r--r--rules/bitcoin.lua1
-rw-r--r--rules/headers_checks.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/rules/bitcoin.lua b/rules/bitcoin.lua
index df6fed2f6..431415d42 100644
--- a/rules/bitcoin.lua
+++ b/rules/bitcoin.lua
@@ -27,6 +27,7 @@ local base58_dec = fun.tomap(fun.map(
rspamd_config:register_symbol{
name = 'BITCOIN_ADDR',
+ description = 'Message has a valid bitcoin wallet address',
callback = function(task)
local rspamd_re = require "rspamd_regexp"
local hash = require "rspamd_cryptobox_hash"
diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua
index 279a51899..d8e4b5903 100644
--- a/rules/headers_checks.lua
+++ b/rules/headers_checks.lua
@@ -115,6 +115,7 @@ rspamd_config:register_symbol{
local prio_cb_id = rspamd_config:register_symbol {
name = 'HAS_X_PRIO',
type = 'callback,mime',
+ description = 'X-Priority check callback rule',
score = 0.0,
group = 'headers',
callback = function (task)