/[smeserver]/rpms/smeserver-qpsmtpd/sme9/smeserver-qpsmtpd-2.4.0-RBLSBLupdate.patch
ViewVC logotype

Annotation of /rpms/smeserver-qpsmtpd/sme9/smeserver-qpsmtpd-2.4.0-RBLSBLupdate.patch

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


Revision 1.2 - (hide annotations) (download)
Tue May 6 19:36:42 2014 UTC (10 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-2_4_0-33_el6_sme, smeserver-qpsmtpd-2_4_0-29_el6_sme, smeserver-qpsmtpd-2_4_0-16_el6_sme, smeserver-qpsmtpd-2_4_0-20_el6_sme, smeserver-qpsmtpd-2_4_0-13_el6_sme, smeserver-qpsmtpd-2_4_0-34_el6_sme, smeserver-qpsmtpd-2_4_0-9_el6_sme, smeserver-qpsmtpd-2_4_0-26_el6_sme, smeserver-qpsmtpd-2_4_0-8_el6_sme, smeserver-qpsmtpd-2_4_0-27_el6_sme, smeserver-qpsmtpd-2_4_0-21_el6_sme, smeserver-qpsmtpd-2_4_0-25_el6_sme, smeserver-qpsmtpd-2_4_0-15_el6_sme, smeserver-qpsmtpd-2_4_0-24_el6_sme, smeserver-qpsmtpd-2_4_0-14_el6_sme, smeserver-qpsmtpd-2_4_0-37_el6_sme, smeserver-qpsmtpd-2_4_0-12_el6_sme, smeserver-qpsmtpd-2_4_0-23_el6_sme, smeserver-qpsmtpd-2_4_0-10_el6_sme, smeserver-qpsmtpd-2_4_0-31_el6_sme, smeserver-qpsmtpd-2_4_0-38_el6_sme, smeserver-qpsmtpd-2_4_0-35_el6_sme, smeserver-qpsmtpd-2_4_0-30_el6_sme, smeserver-qpsmtpd-2_4_0-36_el6_sme, smeserver-qpsmtpd-2_4_0-39_el6_sme, smeserver-qpsmtpd-2_4_0-32_el6_sme, smeserver-qpsmtpd-2_4_0-11_el6_sme, smeserver-qpsmtpd-2_4_0-28_el6_sme, HEAD
Changes since 1.1: +22 -6 lines
* Tue May 6 2014 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme
- Remove dnsbl.ahbl.org RBL List [SME: 8368]

1 wellsi 1.1 diff -ruN smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/defaults/qpsmtpd/RBLList smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/RBLList
2     --- smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/defaults/qpsmtpd/RBLList 2008-10-07 08:05:18.000000000 -0700
3     +++ smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/RBLList 2014-02-23 19:21:05.000000000 -0800
4     @@ -1 +1 @@
5     -bl.spamcop.net:combined.njabl.org:dnsbl.ahbl.org:dnsbl-1.uceprotect.net:dnsbl-2.uceprotect.net:list.dsbl.org:multihop.dsbl.org:psbl.surriel.com:zen.spamhaus.org
6     +bl.spamcop.net:dnsbl.ahbl.org:dnsbl-1.uceprotect.net:dnsbl-2.uceprotect.net:psbl.surriel.com:zen.spamhaus.org
7     diff -ruN smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/defaults/qpsmtpd/SBLList smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/SBLList
8     --- smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/defaults/qpsmtpd/SBLList 2008-10-07 08:05:18.000000000 -0700
9     +++ smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/defaults/qpsmtpd/SBLList 2014-02-23 19:21:51.000000000 -0800
10     @@ -1 +1 @@
11     -bogusmx.rfc-ignorant.org:multi.surbl.org:black.uribl.com:rhsbl.sorbs.net:bulk.rhs.mailpolice.com:fraud.rhs.mailpolice.com:porn.rhs.mailpolice.com:adult.rhs.mailpolice.com:ex.dnsbl.org
12     +multi.surbl.org:black.uribl.com:rhsbl.sorbs.net
13     diff -ruN smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20ordb.org smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20ordb.org
14     --- smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20ordb.org 2008-10-07 08:05:18.000000000 -0700
15     +++ smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20ordb.org 1969-12-31 16:00:00.000000000 -0800
16     @@ -1,8 +0,0 @@
17     -{
18     - $qpsmtpd = $DB->get('qpsmtpd');
19     - return unless $qpsmtpd;
20     - return unless $qpsmtpd->prop('RBLList');
21     -
22     - @rbl = grep { !/ordb.org$/ && !/ordb.net$/ } split /[,:]/, $qpsmtpd->prop('RBLList');
23     - $qpsmtpd->set_prop('RBLList', join ':', @rbl);
24     -}
25     diff -ruN smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20RBLList smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20RBLList
26     --- smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20RBLList 1969-12-31 16:00:00.000000000 -0800
27 wellsi 1.2 +++ smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20RBLList 2014-02-24 19:52:38.000000000 -0800
28     @@ -0,0 +1,15 @@
29 wellsi 1.1 +{
30     + $qpsmtpd = $DB->get('qpsmtpd');
31     + return unless $qpsmtpd;
32     + return unless $qpsmtpd->prop('RBLList');
33     +
34 wellsi 1.2 + my %obsolete = map { $_ => 1} qw(
35     + combined.njabl.org
36     + list.dsbl.org
37     + multihop.dsbl.org
38     + );
39     +
40     + @rbl = grep { ! $obsolete{$_} } split /[,:]/, $qpsmtpd->prop('RBLList');
41 wellsi 1.1 + $qpsmtpd->set_prop('RBLList', join ':', @rbl);
42     +}
43     +
44     diff -ruN smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20SBLLIST smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20SBLLIST
45     --- smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20SBLLIST 1969-12-31 16:00:00.000000000 -0800
46 wellsi 1.2 +++ smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20SBLLIST 2014-02-24 20:00:35.000000000 -0800
47     @@ -0,0 +1,18 @@
48 wellsi 1.1 +{
49     + $qpsmtpd = $DB->get('qpsmtpd');
50     + return unless $qpsmtpd;
51     + return unless $qpsmtpd->prop('SBLList');
52     +
53 wellsi 1.2 + my %obsolete = map { $_ => 1} qw(
54     + blackhole.securitysage.com
55     + bulk.rhs.mailpolice.com
56     + fraud.rhs.mailpolice.com
57     + porn.rhs.mailpolice.com
58     + adult.rhs.mailpolice.com
59     + bogusmx.rfc-ignorant.org
60     + ex.dnsbl.org
61     + );
62     +
63     + @sbl = grep { !$obsolete{$_} } split /[,:]/, $qpsmtpd->prop('SBLList');
64 wellsi 1.1 + $qpsmtpd->set_prop('SBLList', join ':', @sbl);
65     +}
66     diff -ruN smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20securitysage smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20securitysage
67     --- smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20securitysage 2008-10-07 08:05:18.000000000 -0700
68     +++ smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20securitysage 1969-12-31 16:00:00.000000000 -0800
69     @@ -1,8 +0,0 @@
70     -{
71     - $qpsmtpd = $DB->get('qpsmtpd');
72     - return unless $qpsmtpd;
73     - return unless $qpsmtpd->prop('SBLList');
74     -
75     - @sbl = grep { !/blackhole.securitysage.com$/ } split /[,:]/, $qpsmtpd->prop('SBLList');
76     - $qpsmtpd->set_prop('SBLList', join ':', @sbl);
77     -}
78     diff -ruN smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20spamhaus smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20spamhaus
79     --- smeserver-qpsmtpd-2.2.0.old/root/etc/e-smith/db/configuration/migrate/20spamhaus 2008-10-07 08:05:18.000000000 -0700
80     +++ smeserver-qpsmtpd-2.2.0/root/etc/e-smith/db/configuration/migrate/20spamhaus 1969-12-31 16:00:00.000000000 -0800
81     @@ -1,12 +0,0 @@
82     -{
83     - $qpsmtpd = $DB->get('qpsmtpd');
84     - return unless $qpsmtpd;
85     - return unless $qpsmtpd->prop('RBLList');
86     -
87     - @rbl = split /[,:]/, $qpsmtpd->prop('RBLList');
88     - if ( grep { /^sbl-xbl.spamhaus.org$/ } @rbl ) {
89     - @rbl = grep { !/^sbl-xbl.spamhaus.org$/ } @rbl;
90     - push @rbl, 'zen.spamhaus.org';
91     - $qpsmtpd->set_prop('RBLList', join ':', @rbl);
92     - }
93     -}

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