Then set your custom rule scores using the [[#Custom_Rule_Scores|Custom Rule Scores]] section of this page. You should base these scores on your settings in server-manager > Configuration > Email > Change e-mail filtering settings or via db config commands for those with that skillset
+
echo "score SPF_SOFTFAIL 6.000" >> 20localscores
+
echo "score SPF_FAIL 14.000" >> 20localscores
+
signal-event email-update
+
+
In our testing an email that doesn't match SPF records and the sender domain owner has defined a soft fail, if is attributed 6 points and sorted to junkmail folder. If the sender domain owner has defined a hard fail the email attibuted 14 points and is subsequently rejected.
+
<br>
+
References (but instructions changed to meet new qmail structure):