1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/09karma mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/09karma |
2 |
--- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/09karma 1970-01-01 01:00:00.000000000 +0100 |
3 |
+++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/09karma 2016-04-21 17:41:29.948841744 +0200 |
4 |
@@ -0,0 +1,6 @@ |
5 |
+{ |
6 |
+ return "# Karma plugin is disabled" unless (($qpsmtpd{Karma} || 'disabled') =~ m/^1|on|yes|enabled$/i); |
7 |
+ my $negative = $qpsmtpd{KarmaNegative} || '2'; |
8 |
+ my $strikes = $qpsmtpd{KarmaStrikes} || '3'; |
9 |
+ $OUT .= "karma negative $negative strikes $strikes reject naughty db_dir /var/lib/qpsmtpd/karma"; |
10 |
+} |
11 |
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 |
12 |
--- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma 2016-04-21 17:42:50.240842286 +0200 |
13 |
+++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma 1970-01-01 01:00:00.000000000 +0100 |
14 |
@@ -1,5 +0,0 @@ |
15 |
-{ |
16 |
- return "# Karma plugin is disabled" unless (($qpsmtpd{Karma} || 'disabled') =~ m/^1|on|yes|enabled$/i); |
17 |
- my $negative = $qpsmtpd{KarmaNegative} || '2'; |
18 |
- $OUT .= "karma negative $negative reject naughty db_dir /var/lib/qpsmtpd/karma"; |
19 |
-} |