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 |
+ @rbl = split /[,:]/, $qpsmtpd->prop('RBLList'); |
15 |
+ 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 |
+} |