Use a CSV file to define the score to give, this allows for customization by user.
Combine existence of records with strength of records to give total score.
SPF Qualifier | Policy | Protection
-----------------------------------
+all | Pass | None
~all | Softfail | Weak
-all | Fail | Strong
SPF, DKIM and DMARC existence could score as shown below:
SPF_DKIM_DMARC | Protection
-------------------------------------
False, False, False | None
False, False, True | None
False, True, False | Weak
False, True, True | Weak
True, False, False | Weak
True, False, True | Strong
True, True, False | Strong
True, True, True | Strong
Use a CSV file to define the score to give, this allows for customization by user.
Combine existence of records with strength of records to give total score.
SPF, DKIM and DMARC existence could score as shown below: