[svn:qpsmtpd] rev 397 - in trunk: . plugins

[email protected] 24 Mar 2005 19:17:47 -0000
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
Author: ask
Date: Thu Mar 24 11:17:46 2005
New Revision: 397

Modified:
   trunk/Changes
   trunk/plugins/rhsbl
Log:
Don't check the HELO host for rfc-ignorant compliance (maybe this should be an option?)



Modified: trunk/Changes
==============================================================================
--- trunk/Changes	(original)
+++ trunk/Changes	Thu Mar 24 11:17:46 2005
@@ -1,5 +1,8 @@
 0.30 - 
 
+  Don't check the HELO host for rfc-ignorant compliance
+
+
 0.29 - 2005/03/03
 
   Store entire incoming message in spool file (so that scanners can read

Modified: trunk/plugins/rhsbl
==============================================================================
--- trunk/plugins/rhsbl	(original)
+++ trunk/plugins/rhsbl	Thu Mar 24 11:17:46 2005
@@ -20,9 +20,9 @@
     my %rhsbl_zones = map { (split /\s+/, $_, 2)[0,1] } $self->qp->config('rhsbl_zones');
 
   if ($sender->format ne '<>' and %rhsbl_zones) {
-    my $helo = $self->qp->connection->hello_host;
     push(my @hosts, $sender->host);
-    push(@hosts, $helo) if $helo && $helo ne $sender->host;
+    #my $helo = $self->qp->connection->hello_host;
+    #push(@hosts, $helo) if $helo && $helo ne $sender->host;
     for my $host (@hosts) {
     for my $rhsbl (keys %rhsbl_zones) {
         $self->log(LOGDEBUG, "Checking $host.$rhsbl for A record in the background");