Every address starts from base. Each check that applies adds or subtracts its weight, and the result is kept between 0 and 100.
| Weight | Built-in default | In the shipped config/scores.json |
|---|---|---|
base |
50 | 50 |
mx_exists |
+20 | +25 |
smtp_valid |
+20 | +15 |
whitelisted |
+10 | +50 |
new_domain |
−10 | −10 |
disposable |
−60 | −60 |
blacklisted |
−40 | −50 |
gibberish |
−5 | −5 |
spam_keywords |
−20 | −40 |
reputation |
−50 | −50 |
reputation is multiplied by the domain's spam reports per check, at most 1: a domain checked 10 times and reported 5 times loses 25 points.
Change weights with the API; they apply at once and are saved to config/scores.json. Keys you leave out keep their built-in default.
curl -X POST http://localhost:8000/scores \
-H "Content-Type: application/json" \
-d '{"gibberish": -15, "blacklisted": -100}'