Peter: > On 12/08/22 08:41, Wietse Venema wrote: > > After some delay, I have verified that postscreen_dnsbl_sites works > > as promised: it adds up the scores from all matching patterns. > > > > This verification required some infrastructure to test postscreen's > > scoring code outside of postscreen. I have written a half-dozen > > tests to ensure that future changes in hat code will not introduce > > changes (i.e. mistakes). > > Thanks Wietse I appreciate you looking into that and the clarification > helps a lot for me to make sure that my rules will have the effect that > I want. > > So the basic premise, if I understand correctly, is that each rule is > individually tested against all returned values for the corresponding > DNSBL query, if any returned value matches the rule then that rule's > weight is added (or subtracted) from the total dnsbl weight.
I have phrased it as Optional list of patterns with DNS allow/denylist domains, filters and weight factors. ... When a postscreen_dnsbl_sites pattern matches one or more DNSBL query results, postscreen(8) adds that pattern's weight once to the remote SMTP client's DNSBL score. in updated documentation. Wietse