File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,7 +216,9 @@ and contains the following directives:
216216** Required**
217217
218218Score to add when this response code is returned. If multiple response codes
219- are returned by the DNSBL, scores are summed together.
219+ are returned by the DNSBL, and they match different rules, the scores from
220+ all matched rules are summed together. Each rule is counted only once, even
221+ if multiple returned IPs match networks within that rule.
220222
221223#### message _ string_
222224** Optional**
@@ -245,5 +247,11 @@ zen.spamhaus.org {
245247}
246248```
247249
250+ ** Scoring behavior:**
251+ - If DNSBL returns ` 127.0.0.2 ` only → Score: 10 (matches first rule)
252+ - If DNSBL returns ` 127.0.0.11 ` only → Score: 5 (matches second rule)
253+ - If DNSBL returns both ` 127.0.0.2 ` and ` 127.0.0.11 ` → Score: 15 (both rules match, scores sum)
254+ - If DNSBL returns both ` 127.0.0.2 ` and ` 127.0.0.3 ` → Score: 10 (same rule matches, counted once)
255+
248256** Backwards compatibility:** When ` response ` blocks are not used, the legacy
249257` responses ` and ` score ` directives work as before.
You can’t perform that action at this time.
0 commit comments