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

Annotation of /rpms/smeserver-qpsmtpd/sme10/smeserver-qpsmtpd-2.6.0-add_uribl_support.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Apr 18 20:08:08 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_6_0-39_el7_sme, smeserver-qpsmtpd-2_6_0-25_el7_sme, smeserver-qpsmtpd-2_6_0-33_el7_sme, smeserver-qpsmtpd-2_6_0-30_el7_sme, smeserver-qpsmtpd-2_6_0-29_el7_sme, smeserver-qpsmtpd-2_6_0-24_el7_sme, smeserver-qpsmtpd-2_6_0-34_el7_sme, smeserver-qpsmtpd-2_6_0-31_el7_sme, smeserver-qpsmtpd-2_6_0-32_el7_sme, smeserver-qpsmtpd-2_6_0-15_el7_sme, smeserver-qpsmtpd-2_6_0-28_el7_sme, smeserver-qpsmtpd-2_6_0-38_el7_sme, smeserver-qpsmtpd-2_6_0-35_el7_sme, smeserver-qpsmtpd-2_6_0-17_el7_sme, smeserver-qpsmtpd-2_6_0-14_el7_sme, smeserver-qpsmtpd-2_6_0-16_el7_sme, smeserver-qpsmtpd-2_6_0-13_el7_sme, smeserver-qpsmtpd-2_6_0-19_el7_sme, smeserver-qpsmtpd-2_6_0-40_el7_sme, smeserver-qpsmtpd-2_6_0-36_el7_sme, smeserver-qpsmtpd-2_6_0-20_el7_sme, smeserver-qpsmtpd-2_6_0-23_el7_sme, smeserver-qpsmtpd-2_6_0-37_el7_sme, smeserver-qpsmtpd-2_6_0-27_el7_sme, smeserver-qpsmtpd-2_6_0-22_el7_sme, smeserver-qpsmtpd-2_6_0-12_el7_sme, smeserver-qpsmtpd-2_6_0-21_el7_sme, smeserver-qpsmtpd-2_6_0-26_el7_sme
* Mon Apr 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-12.sme
- Add support for uribl plugin, disabled by default [SME: 9467]

1 vip-ire 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/createlinks mezzanine_patched_smeserver-qpsmtpd-2.6.0/createlinks
2     --- smeserver-qpsmtpd-2.6.0/createlinks 2016-04-18 21:39:12.700109873 +0200
3     +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/createlinks 2016-04-18 21:31:37.464138086 +0200
4     @@ -83,6 +83,7 @@
5     badrcptto
6     dnsbl_zones
7     dnsbl_allow
8     + uribl_zones
9     loglevel
10     memory_threshold
11     plugins
12     diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/UBLList mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/UBLList
13     --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/UBLList 1970-01-01 01:00:00.000000000 +0100
14     +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/UBLList 2016-04-18 21:24:37.080163504 +0200
15     @@ -0,0 +1 @@
16     +multi.surbl.org:8-16-64-128,black.uribl.com,rhsbl.sorbs.net
17     diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/URIBL mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/URIBL
18     --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/URIBL 1970-01-01 01:00:00.000000000 +0100
19     +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/URIBL 2016-04-18 20:54:09.796362597 +0200
20     @@ -0,0 +1 @@
21     +disabled
22     diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/24uribl mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/24uribl
23     --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/24uribl 1970-01-01 01:00:00.000000000 +0100
24     +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/24uribl 2016-04-18 21:38:09.640113822 +0200
25     @@ -0,0 +1,5 @@
26     +{
27     + return "# uribl disabled" unless (${qpsmtpd}{URIBL} eq "enabled");
28     +
29     + "uribl action deny";
30     +}
31     diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/uribl_zones/10URIBLList mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/uribl_zones/10URIBLList
32     --- smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/uribl_zones/10URIBLList 1970-01-01 01:00:00.000000000 +0100
33     +++ mezzanine_patched_smeserver-qpsmtpd-2.6.0/root/etc/e-smith/templates/var/service/qpsmtpd/config/uribl_zones/10URIBLList 2016-04-18 21:18:44.800188535 +0200
34     @@ -0,0 +1,19 @@
35     +{
36     + my @ubllist = split /[,]/, ${qpsmtpd}{UBLList} || '';
37     +
38     + return "# No URIBLs are defined" unless (scalar @ubllist);
39     +
40     + $OUT .= '';
41     + foreach my $bl (@ubllist){
42     + my @l = split /[:]/, $bl;
43     + $OUT .= $l[0];
44     + if ($l[1]){
45     + $l[1] =~ s/-/,/g;
46     + $OUT .= " $l[1]";
47     + if ($l[2] && $l[2] =~ m/^add\-header|deny(soft)?$/){
48     + $OUT .= " $l[2]";
49     + }
50     + }
51     + $OUT .= "\n";
52     + }
53     +}

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