/[smeserver]/rpms/smeserver-spamassassin/sme9/smeserver-spamassassin-2.4.0-fix_10required_score.patch |
Parent Directory | Revision Log | Revision Graph
* Sun May 19 2013 chris burnat <devlist@burnat.com> 2.4.0-2.sme - Reverse changes in 2.2.0-6 and fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 7604 ]
1 | burnat | 1.1 | diff -urN smeserver-spamassassin-2.2.0.old/root/etc/e-smith/templates/etc/mail/spamassassin/local.cf/10required_score smeserver-spamassassin-2.2.0/root/etc/e-smith/templates/etc/mail/spamassassin/local.cf/10required_score |
2 | --- smeserver-spamassassin-2.2.0.old/root/etc/e-smith/templates/etc/mail/spamassassin/local.cf/10required_score 2013-05-19 13:00:20.070839600 +1000 | ||
3 | +++ smeserver-spamassassin-2.2.0/root/etc/e-smith/templates/etc/mail/spamassassin/local.cf/10required_score 2013-05-19 13:10:45.184838557 +1000 | ||
4 | @@ -9,8 +9,11 @@ | ||
5 | 'verylow' => 9, | ||
6 | ); | ||
7 | |||
8 | - my $hits = ($sens eq 'custom') ? $spamassassin{TagLevel}-.01 | ||
9 | - : $sens2hits{$sens}-.01; | ||
10 | + my $hits = ($sens eq 'custom') ? $spamassassin{TagLevel} | ||
11 | + : $sens2hits{$sens}; | ||
12 | + | ||
13 | + no locale; | ||
14 | + $hits -= "0.01"; | ||
15 | |||
16 | return "required_score $hits"; | ||
17 | } |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |