1 |
vip-ire |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma |
2 |
|
|
--- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma 2016-04-17 12:16:29.808621709 +0200 |
3 |
|
|
+++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma 2016-04-17 12:16:27.876620984 +0200 |
4 |
|
|
@@ -1,4 +1,5 @@ |
5 |
|
|
{ |
6 |
|
|
return "# Karma plugin is disabled" unless (($qpsmtpd{Karma} || 'disabled') =~ m/^1|on|yes|enabled$/i); |
7 |
|
|
- $OUT .= 'karma negative 2 reject connect db_dir /var/lib/qpsmtpd/karma'; |
8 |
|
|
+ my $negative = $qpsmtpd{KarmaNegative} || '2'; |
9 |
|
|
+ $OUT .= "karma negative $negative reject connect db_dir /var/lib/qpsmtpd/karma"; |
10 |
|
|
} |