]> source.dussan.org Git - rspamd.git/commit
[Feature] Skip updates for messages scanned via controller
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 1 Jul 2017 15:11:45 +0000 (16:11 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 1 Jul 2017 15:11:45 +0000 (16:11 +0100)
commit8b14fbab1e094fe8db43ce83afeea52bf83b7dc5
tree2444ce7fce664259a1f0d6bac0edd4a8a78a3312
parent66394a369f95e83bec1646f73bebccd106858bb2
[Feature] Skip updates for messages scanned via controller

Rationale: controller worker is not designed to perform scan jobs,
hence, we check for `Password` header or check `User-Agent` for `rspamc`
and skip some of rules parts:

- DMARC reports
- Greylisting
- Ratelimits
- Ip score update
- Clickhouse export
lualib/lua_util.lua
src/plugins/lua/clickhouse.lua
src/plugins/lua/dmarc.lua
src/plugins/lua/greylist.lua
src/plugins/lua/ip_score.lua
src/plugins/lua/ratelimit.lua