First off my goal is that I want all zen.spamhaus.org entries to have a score of 3 except for CSS entries which should have a score of 2. zen returns 127.0.0.n for all entries and CSS specifically returns 127.0.0.3.

What I think I can do is this:

postscreen_dnsbl_sites = zen.spamhaus.org=127.0.0.[1..255]*3
  zen.spamhaus.org=127.0.0.3*-1

So presumably if 127.0.0.3 is returned it will initially get a score of 3 but then decrement it by 1 so it ends up with a score of 2, so first question: Will this work the way I want it to?

Next question: What happens if zen returns multiple responses:
127.0.0.10
127.0.0.3

Will it score 2, 3, 5 or something else?

What if I did this instead:

postscreen_dnsbl_sites = zen.spamhaus.org=127.0.0.[1..2]*3
  zen.spamhaus.org=127.0.0.3*2
  zen.spamhaus.org=127.0.0.[4..255]*3

How would that affect the answer to the above two questions?


Thanks,


Peter

Reply via email to