Matus UHLAR - fantomas skrev den 2024-04-24 18:58:
On 24.04.24 18:50, Benny Pedersen wrote:
unsure so i ask :)
try to explain your question a bit more
perldoc Mail::SpamAssassin::Plugin::AuthRes
EVAL FUNCTIONS
header RULENAME eval:check_authres_result(method, result)
Can be used to check results.
ifplugin Mail::SpamAssassin::Plugin::AuthRes
ifplugin !(Mail::SpamAssassin::Plugin::SPF)
header SPF_PASS eval:check_authres_result('spf',
'pass')
header SPF_FAIL eval:check_authres_result('spf',
'fail')
header SPF_SOFTFAIL eval:check_authres_result('spf',
'softfail')
header SPF_TEMPFAIL eval:check_authres_result('spf',
'tempfail')
endif
ifplugin !(Mail::SpamAssassin::Plugin::DKIM)
header DKIM_VERIFIED eval:check_authres_result('dkim',
'pass')
header DKIM_INVALID eval:check_authres_result('dkim',
'fail')
endif
endif
imho this example is not correct, authres have the results from another
header
grep eval:
=item header RULENAME eval:check_authres_result(method, result)
header SPF_PASS eval:check_authres_result('spf', 'pass')
header SPF_FAIL eval:check_authres_result('spf', 'fail')
header SPF_SOFTFAIL eval:check_authres_result('spf', 'softfail')
header SPF_TEMPFAIL eval:check_authres_result('spf', 'tempfail')
header DKIM_VERIFIED eval:check_authres_result('dkim', 'pass')
header DKIM_INVALID eval:check_authres_result('dkim', 'fail')
i asked why is SPF_HELO evals missing ?
can authres test for dkim none ?
if its just missing examples, all well