Browse Source

improve descriptions for HAS_X_PRIO_* rules

tags/1.9.2
heraklit256 5 years ago
parent
commit
7a1a11ccc5
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      rules/headers_checks.lua

+ 5
- 5
rules/headers_checks.lua View File

score = 0.0, score = 0.0,
parent = prio_cb_id, parent = prio_cb_id,
type = 'virtual', type = 'virtual',
description = 'Priority 0',
description = 'Message has X-Priority header set to 0',
group = 'headers', group = 'headers',
} }
rspamd_config:register_symbol{ rspamd_config:register_symbol{
score = 0.0, score = 0.0,
parent = prio_cb_id, parent = prio_cb_id,
type = 'virtual', type = 'virtual',
description = 'Priority 1',
description = 'Message has X-Priority header set to 1',
group = 'headers', group = 'headers',
} }
rspamd_config:register_symbol{ rspamd_config:register_symbol{
score = 0.0, score = 0.0,
parent = prio_cb_id, parent = prio_cb_id,
type = 'virtual', type = 'virtual',
description = 'Priority 2',
description = 'Message has X-Priority header set to 2',
group = 'headers', group = 'headers',
} }
rspamd_config:register_symbol{ rspamd_config:register_symbol{
score = 0.0, score = 0.0,
parent = prio_cb_id, parent = prio_cb_id,
type = 'virtual', type = 'virtual',
description = 'Priority 3-4',
description = 'Message has X-Priority header set to 3 or 4',
group = 'headers', group = 'headers',
} }
rspamd_config:register_symbol{ rspamd_config:register_symbol{
score = 0.0, score = 0.0,
parent = prio_cb_id, parent = prio_cb_id,
type = 'virtual', type = 'virtual',
description = 'Priority 5+',
description = 'Message has X-Priority header set to 5 or higher',
group = 'headers', group = 'headers',
} }



Loading…
Cancel
Save