]> source.dussan.org Git - rspamd.git/commit
[Feature] Add extraction type for `from` maps
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 27 Jan 2024 09:05:40 +0000 (09:05 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 27 Jan 2024 09:05:40 +0000 (09:05 +0000)
commit6b1f319e218555610ada97755c97a8a8d32f436f
tree5a1e78679fa04a56b8a96388d15534f49d6eb918
parent23c76ecda7d9d9807e57d5e509d9f0d2a669ef5b
[Feature] Add extraction type for `from` maps

Attribute name: `extract_from`. Possible values:

* `default` - try smtp, if not exists try mime
* `mime` - check mime only
* `smtp` - check smtp only
* `both` - try to match both
src/plugins/lua/multimap.lua