/[smeserver]/rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-use_naughty_plugin.patch
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-use_naughty_plugin.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed Dec 16 16:49:34 2020 UTC (3 years, 10 months ago) by jcrisp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Initial import

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/15helo mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/15helo
2 --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/15helo 2016-04-20 21:34:14.628333294 +0200
3 +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/15helo 2016-04-20 21:32:51.564340217 +0200
4 @@ -1 +1 @@
5 -helo policy { $qpsmtpd{HeloPolicy} || 'rfc' }
6 +helo policy { $qpsmtpd{HeloPolicy} || 'rfc' } reject naughty
7 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
8 --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma 2016-04-20 21:34:14.621333294 +0200
9 +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/18karma 2016-04-20 21:33:49.056335436 +0200
10 @@ -1,5 +1,5 @@
11 {
12 return "# Karma plugin is disabled" unless (($qpsmtpd{Karma} || 'disabled') =~ m/^1|on|yes|enabled$/i);
13 my $negative = $qpsmtpd{KarmaNegative} || '2';
14 - $OUT .= "karma negative $negative reject connect db_dir /var/lib/qpsmtpd/karma";
15 + $OUT .= "karma negative $negative reject naughty db_dir /var/lib/qpsmtpd/karma";
16 }
17 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/22dnsbl mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/22dnsbl
18 --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/22dnsbl 2008-10-07 17:05:18.000000000 +0200
19 +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/22dnsbl 2016-04-20 21:32:21.955342667 +0200
20 @@ -1,5 +1,5 @@
21 {
22 return "# dnsbl disabled" unless (${qpsmtpd}{DNSBL} eq "enabled");
23
24 - "dnsbl disconnect";
25 + "dnsbl reject naughty";
26 }
27 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/23naughty mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/23naughty
28 --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/23naughty 1970-01-01 01:00:00.000000000 +0100
29 +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/23naughty 2016-04-20 21:31:21.373347653 +0200
30 @@ -0,0 +1 @@
31 +naughty reject mail

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed