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

Diff 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 | View Patch Patch

Revision 1.1 by slords, Sun Oct 5 19:07:19 2008 UTC Revision 1.2 by slords, Sun Oct 5 19:37:57 2008 UTC
# Line 11  Line 11 
11  +    return unless $qpsmtpd;  +    return unless $qpsmtpd;
12  +    return unless $qpsmtpd->prop('RBLList');  +    return unless $qpsmtpd->prop('RBLList');
13  +  +
14  +    @rbl = $qpsmtpd->prop('RBLList');  +    @rbl = split /[,:]/, $qpsmtpd->prop('RBLList');
15  +    if ( grep { /^sbl-xbl.spamhaus.org$/ } @rbl ) {  +    if ( grep { /^sbl-xbl.spamhaus.org$/ } @rbl ) {
16  +        @rbl = grep { !/^sbl-xbl.spamhaus.org$/ } @rbl;  +        @rbl = grep { !/^sbl-xbl.spamhaus.org$/ } @rbl;
17  +        push @rbl, 'zen.spamhaus.org';  +        push @rbl, 'zen.spamhaus.org';


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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