Syntax error in spamass conf template

tags/ipasserelle-base-0.2.65-1 0.2.56_el6
Daniel Berteaud 9 years ago
parent 70c351842f
commit af3c75e046
  1. 2
      root/etc/e-smith/templates/etc/mail/spamassassin/local.cf/10BayesAutoLearn

@ -1,5 +1,5 @@
{ {
if (($spamassassin{UseBayes} || '0') m/^1|on|yes|enabled$/ && ($spamassassin{BayesAutoLearn} || 'no') =~ m/^1|on|yes|enabled$/){ if (($spamassassin{UseBayes} || '0') =~ m/^1|on|yes|enabled$/ && ($spamassassin{BayesAutoLearn} || 'no') =~ m/^1|on|yes|enabled$/){
my $ham_thres = $spamassassin{BayesHamThreshold} || '-0.1'; my $ham_thres = $spamassassin{BayesHamThreshold} || '-0.1';
my $spam_thres = $spamassassin{BayesSpamThreshold} || '8'; my $spam_thres = $spamassassin{BayesSpamThreshold} || '8';
$OUT .=<<"_EOF"; $OUT .=<<"_EOF";

Loading…
Cancel
Save