ansible-role-spamassassin/templates/clamav-github-plugin-conf.c...

17 lines
528 B
Django/Jinja

loadplugin Mail::SpamAssassin::Plugin::Clamav clamav.pm
clamd_sock {{ clamav_clamd_spamassassin_local_socket }}
full AV_CLAMAV eval:check_clamav('OFFICIAL')
describe AV_CLAMAV Clamav AntiVirus detected a virus
score AV_CLAMAV {{ spamassassin_clamav_plugin_score }}
full AV_CLAMAV_S eval:check_clamav('SecuriteInfo')
describe AV_CLAMAV_S Clamav AntiVirus detected a virus
score AV_CLAMAV_S 2.5
if can(Mail::SpamAssassin::Conf::feature_subjprefix)
subjprefix AV_CLAMAV ***VIRUS***
subjprefix AV_CLAMAV_S ***VIRUS***
endif