Dominic Raferd: > On Sat, 25 Jan 2020 at 15:47, Wietse Venema <wie...@porcupine.org> wrote: > > > Wietse Venema: > > > Dominic Raferd: > > > > When postscreen rejects an incoming email because it exceeds the > > dnsbl/rbl > > > > score, how does it decide which rbl to report back to client as the > > cause > > > > of the rejection - since it only reports one? Is it just the first one > > to > > > > respond? Or random? > > > > > > It replies with the DNSBL site that has the biggest weight. > > > > This behavior was introduced on 20120222: > > > > Cleanup: when multiple DNSBLs block an SMTP client, the > > postscreen "reject" message now gives credit to the DNSBL > > with the largest weight, instead of the DNSBL that replies > > first. File: postscreen/postscreen_dnsbl.c. > > > > And if they have the same weight then random or the one that replied first? > Or the one that gave the most hits (response codes)?
It initializes (sitename, weight) as (null, null) then updates that whenever a response has a larger weight. Thus, it returns the first name of all the DNSBL sites that have the largest weight. I see no reason to reveal more detail to spammers. Authorized personnel can get those details from the maillog file. Wietse