You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smeserver-spamassassin/root/etc/e-smith/templates/etc/mail/spamassassin/local.cf/10required_score

17 lines
345 B
Plaintext

{
my $sens = $spamassassin{Sensitivity} || 'medium';
my %sens2hits = (
'veryhigh' => 2,
'high' => 3,
'medium' => 5,
'low' => 7,
'verylow' => 9,
);
my $hits = ($sens eq 'custom') ? $spamassassin{TagLevel}
: $sens2hits{$sens};
return "required_score $hits";
}