/[smeserver]/rpms/qpsmtpd/sme9/qpsmtpd-0.84-make-dnsbl-more-whitelist_soft-aware.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme9/qpsmtpd-0.84-make-dnsbl-more-whitelist_soft-aware.patch

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


Revision 1.1 - (show annotations) (download)
Fri Dec 26 14:43:24 2014 UTC (9 years, 4 months ago) by stephdl
Branch: MAIN
CVS Tags: qpsmtpd-0_84-14_el6_sme, qpsmtpd-0_96-5_el6_sme, qpsmtpd-0_84-16_el6_sme, qpsmtpd-0_96-1_el6_sme, qpsmtpd-0_96-6_el6_sme, qpsmtpd-0_84-12_el6_sme, qpsmtpd-0_96-8_el6_sme, qpsmtpd-0_96-7_el6_sme, qpsmtpd-0_96-2_el6_sme, qpsmtpd-0_84-13_el6_sme, qpsmtpd-0_96-4_el6_sme, qpsmtpd-0_96-3_el6_sme, qpsmtpd-0_96-10_el6_sme, qpsmtpd-0_96-11_el6_sme, qpsmtpd-0_84-11_el6_sme, qpsmtpd-0_84-17_el6_sme, qpsmtpd-0_84-18_el6_sme, qpsmtpd-0_96-9_el6_sme, qpsmtpd-0_84-15_el6_sme, HEAD
* Fri Dec 26 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.84-11.sme
- Modify whitelist_soft transaction to interact with dnsbl filter [SME: 8747]
- by John Crisp <jcrisp@safeandsoundit.co.uk>

1 diff -Nur qpsmtpd-0.84.old/plugins/dnsbl qpsmtpd-0.84.bz8327/plugins/dnsbl
2 --- qpsmtpd-0.84.old/plugins/dnsbl 2014-12-26 14:51:29.018215638 +0100
3 +++ qpsmtpd-0.84.bz8327/plugins/dnsbl 2014-12-26 15:13:01.032091806 +0100
4 @@ -179,6 +179,27 @@
5 }
6
7 my $note = $self->process_sockets;
8 +
9 +# Check for whitelisthelo from whitelist_soft
10 + my $whitehelo = $connection->notes('whitelisthelo');
11 + if ($whitehelo) {
12 + $self->log(LOGINFO, "Whitelisthelo found $whitehelo");
13 + return OK;
14 + }
15 + else {
16 + $self->log(LOGINFO, "Whitelisthelo not found");
17 + }
18 +
19 +# Check for whitelistsender from whitelist_soft
20 + my $whitesender = $transaction->notes('whitelistsender');
21 + if ($whitesender) {
22 + $self->log(LOGINFO, "Whitelistsender found $whitesender");
23 + return OK;
24 + }
25 + else {
26 + $self->log(LOGINFO, "Whitelistsender not found");
27 + }
28 +
29 my $whitelist = $connection->notes('whitelisthost');
30 if ( $note ) {
31 if ( $rcpt->user =~ /^(?:postmaster|abuse|mailer-daemon|root)$/i ) {

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