On 30.05.22 14:02, Peter wrote:
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?

yes, it should.

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?

I think it gets score of 2 and if you want different scores for different listings, you must expand them.

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?

this should produce score 6 for the example above

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I intend to live forever - so far so good.

Reply via email to