]> source.dussan.org Git - rspamd.git/commit
[Rework] Resolve rdns in a separate function
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 6 Aug 2024 12:45:27 +0000 (13:45 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 6 Aug 2024 12:45:27 +0000 (13:45 +0100)
commite227bedc4f24b1ab5cf7feae0d2acb076ddcb312
treeb6ee7e007a5b8bdaf6ea8ffa07d18ff82dd0d8fe
parentaa0bc71c67e825ca4cbe34dd2c2e4cc86312c1e3
[Rework] Resolve rdns in a separate function

Historically, it was done in `once_received` module, however, that check must
be done early, even before settings (as they could rely on hostname).

Hence, it was discussed to move this code to a separate rule.
conf/modules.d/once_received.conf
conf/scores.d/headers_group.conf
conf/scores.d/hfilter_group.conf
rules/misc.lua
src/plugins/lua/once_received.lua