Files
zira-etc/mail/spamassassin/mtx.cf
2021-05-24 22:18:33 +03:00

31 lines
1.4 KiB
CFEngine3

loadplugin Mail::SpamAssassin::Plugin::MTX MTX.pm
header MTX_PASS eval:check_mtx_pass()
header MTX_FAIL eval:check_mtx_fail()
header MTX_NONE eval:check_mtx_none()
header MTX_NEUTRAL eval:check_mtx_neutral()
header MTX_SOFTFAIL eval:check_mtx_softfail()
header MTX_HARDFAIL eval:check_mtx_hardfail()
header MTX_BLACKLIST eval:check_mtx_blacklist()
score MTX_PASS -2 # Bonus for Pass.
score MTX_FAIL 0.001 # Using NONE/NEUTRAL/SOFTFAIL/HARDFAIL instead.
score MTX_NONE 0.001 # No penalty for not using MTX, until it's
# more widely used.
score MTX_NEUTRAL 0.001 # Same lack of penalty for people using MTX prefering
# minimum penalty for IPs without an MTX record.
score MTX_SOFTFAIL 1 # More penalty for those who want it.
score MTX_HARDFAIL 100 # Major penalty for those who want it.
# MTX_BLACKLIST score defined per domain.
describe MTX_PASS MTX: Passed: http://www.chaosreigns.com/mtx/
describe MTX_FAIL MTX: Failed: http://www.chaosreigns.com/mtx/
describe MTX_NONE MTX: Not defined: http://www.chaosreigns.com/mtx/
describe MTX_NEUTRAL MTX: Neutral: http://www.chaosreigns.com/mtx/
describe MTX_SOFTFAIL MTX: SoftFail: http://www.chaosreigns.com/mtx/
describe MTX_HARDFAIL MTX: HardFail: http://www.chaosreigns.com/mtx/
describe MTX_BLACKLIST MTX: On your blacklist.
# MTX Blacklist file
include /etc/mail/spamassassin/mtx_blacklist.cf