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 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/18karma 2016-04-15 15:32:29.818426555 +0200 |
4 |
@@ -0,0 +1,4 @@ |
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 |
+} |