Hello,
I'm further playing with AuthRes plugin, I have modified test rules so each
AUTHRES_ rule is equivalent to corresponding rule in SA.
I set scores to only produce small positive scores, usually to even SA scores
- valid spf/dkim/dmarc/arc is NOT a ham sign!
I have also commited patch to bug 6918 to handle "arc.chain=" results.
Let's see how these will go.
ifplugin Mail::SpamAssassin::Plugin::AuthRes
header AUTHRES_SPF_NONE eval:check_authres_result('spf', 'none')
score AUTHRES_SPF_NONE 0.001
describe AUTHRES_SPF_NONE Authentication-Results: has "spf=none" result
header AUTHRES_SPF_PASS eval:check_authres_result('spf', 'pass')
score AUTHRES_SPF_PASS 0.001
describe AUTHRES_SPF_PASS Authentication-Results: has "spf=pass" result
header AUTHRES_SPF_FAIL eval:check_authres_result('spf', 'fail')
score AUTHRES_SPF_FAIL 0.1
describe AUTHRES_SPF_FAIL Authentication-Results: has "spf=fail" result
header AUTHRES_SPF_NEUTRAL eval:check_authres_result('spf', 'neutral')
score AUTHRES_SPF_NEUTRAL 0.001
describe AUTHRES_SPF_NEUTRAL Authentication-Results: has "spf=neutral" result
header AUTHRES_SPF_SOFTFAIL eval:check_authres_result('spf', 'softfail')
score AUTHRES_SPF_SOFTFAIL 0.1
describe AUTHRES_SPF_SOFTFAIL Authentication-Results: has "spf=softfail" result
header AUTHRES_DKIM_VALID eval:check_authres_result('dkim', 'pass')
score AUTHRES_DKIM_VALID 0.1
describe AUTHRES_DKIM_VALID Authentication-Results: has "dkim=pass" result
header AUTHRES_DKIM_INVALID eval:check_authres_result('dkim', 'fail')
score AUTHRES_DKIM_INVALID 0.001
describe AUTHRES_DKIM_INVALID Authentication-Results: has "dkim=fail" result
header AUTHRES_DMARC_PASS eval:check_authres_result('dmarc', 'pass')
score AUTHRES_DMARC_PASS 0.001
describe AUTHRES_DMARC_PASS Authentication-Results: has "dmarc=pass" result
header AUTHRES_DMARC_FAIL eval:check_authres_result('dmarc', 'fail')
score AUTHRES_DMARC_FAIL 0.001
describe AUTHRES_DMARC_FAIL Authentication-Results: has "dmarc=fail" result
header AUTHRES_ARC_VALID eval:check_authres_result('arc', 'pass')
score AUTHRES_ARC_VALID 0.001
describe AUTHRES_ARC_VALID Authentication-Results: has "arc=pass" result
header AUTHRES_ARC_INVALID eval:check_authres_result('arc', 'fail')
score AUTHRES_ARC_INVALID 0.001
describe AUTHRES_ARC_INVALID Authentication-Results: has "arc=fail" result
endif
--
Matus UHLAR - fantomas, uhlar@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.
If Barbie is so popular, why do you have to buy her friends?
I'm further playing with AuthRes plugin, I have modified test rules so each
AUTHRES_ rule is equivalent to corresponding rule in SA.
I set scores to only produce small positive scores, usually to even SA scores
- valid spf/dkim/dmarc/arc is NOT a ham sign!
I have also commited patch to bug 6918 to handle "arc.chain=" results.
Let's see how these will go.
ifplugin Mail::SpamAssassin::Plugin::AuthRes
header AUTHRES_SPF_NONE eval:check_authres_result('spf', 'none')
score AUTHRES_SPF_NONE 0.001
describe AUTHRES_SPF_NONE Authentication-Results: has "spf=none" result
header AUTHRES_SPF_PASS eval:check_authres_result('spf', 'pass')
score AUTHRES_SPF_PASS 0.001
describe AUTHRES_SPF_PASS Authentication-Results: has "spf=pass" result
header AUTHRES_SPF_FAIL eval:check_authres_result('spf', 'fail')
score AUTHRES_SPF_FAIL 0.1
describe AUTHRES_SPF_FAIL Authentication-Results: has "spf=fail" result
header AUTHRES_SPF_NEUTRAL eval:check_authres_result('spf', 'neutral')
score AUTHRES_SPF_NEUTRAL 0.001
describe AUTHRES_SPF_NEUTRAL Authentication-Results: has "spf=neutral" result
header AUTHRES_SPF_SOFTFAIL eval:check_authres_result('spf', 'softfail')
score AUTHRES_SPF_SOFTFAIL 0.1
describe AUTHRES_SPF_SOFTFAIL Authentication-Results: has "spf=softfail" result
header AUTHRES_DKIM_VALID eval:check_authres_result('dkim', 'pass')
score AUTHRES_DKIM_VALID 0.1
describe AUTHRES_DKIM_VALID Authentication-Results: has "dkim=pass" result
header AUTHRES_DKIM_INVALID eval:check_authres_result('dkim', 'fail')
score AUTHRES_DKIM_INVALID 0.001
describe AUTHRES_DKIM_INVALID Authentication-Results: has "dkim=fail" result
header AUTHRES_DMARC_PASS eval:check_authres_result('dmarc', 'pass')
score AUTHRES_DMARC_PASS 0.001
describe AUTHRES_DMARC_PASS Authentication-Results: has "dmarc=pass" result
header AUTHRES_DMARC_FAIL eval:check_authres_result('dmarc', 'fail')
score AUTHRES_DMARC_FAIL 0.001
describe AUTHRES_DMARC_FAIL Authentication-Results: has "dmarc=fail" result
header AUTHRES_ARC_VALID eval:check_authres_result('arc', 'pass')
score AUTHRES_ARC_VALID 0.001
describe AUTHRES_ARC_VALID Authentication-Results: has "arc=pass" result
header AUTHRES_ARC_INVALID eval:check_authres_result('arc', 'fail')
score AUTHRES_ARC_INVALID 0.001
describe AUTHRES_ARC_INVALID Authentication-Results: has "arc=fail" result
endif
--
Matus UHLAR - fantomas, uhlar@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.
If Barbie is so popular, why do you have to buy her friends?