/[smeserver]/rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-1.2.1-spamhaus.patch
ViewVC logotype

Annotation of /rpms/smeserver-qpsmtpd/sme7/smeserver-qpsmtpd-1.2.1-spamhaus.patch

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


Revision 1.3 - (hide annotations) (download)
Tue Oct 7 15:06:54 2008 UTC (15 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
New streams

1 slords 1.1 --- smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/RBLList.spamhaus 2008-10-05 12:32:41.000000000 -0600
2     +++ smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/defaults/qpsmtpd/RBLList 2008-10-05 12:36:14.000000000 -0600
3     @@ -1 +1 @@
4     -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:sbl-xbl.spamhaus.org
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     --- smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/migrate/20spamhaus.spamhaus 2008-10-05 12:36:38.000000000 -0600
7     +++ smeserver-qpsmtpd-1.2.1/root/etc/e-smith/db/configuration/migrate/20spamhaus 2008-10-05 12:41:40.000000000 -0600
8     @@ -0,0 +1,12 @@
9     +{
10     + $qpsmtpd = $DB->get('qpsmtpd');
11     + return unless $qpsmtpd;
12     + return unless $qpsmtpd->prop('RBLList');
13     +
14 slords 1.2 + @rbl = split /[,:]/, $qpsmtpd->prop('RBLList');
15 slords 1.1 + if ( grep { /^sbl-xbl.spamhaus.org$/ } @rbl ) {
16     + @rbl = grep { !/^sbl-xbl.spamhaus.org$/ } @rbl;
17     + push @rbl, 'zen.spamhaus.org';
18     + $qpsmtpd->set_prop('RBLList', join ':', @rbl);
19     + }
20     +}

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