Two DNSBL bugs?

Julian Field mailscanner at ecs.soton.ac.uk
Thu Aug 21 21:03:19 IST 2003


Try this:

--- Exim.pm.old    2003-05-30 09:38:27.000000000 +0100
+++ Exim.pm     2003-08-21 21:02:46.000000000 +0100
@@ -311,6 +311,8 @@
                     defined $metadata{dv_host_address})?
                       $metadata{dv_host_address}:
                       "127.0.0.1";
+  $message->{clientip} =~ s/^(\d+\.\d+\.\d+\.\d+)(\..*)?/$1/;
+  $message->{clientip} =~ s/^([a-f\d]*)(:[a-f\d]*){6}).*$/$1$2/;

    # Deal with b-tree of non-recipients
    $metadata{nonrcpts} = {};

At 20:48 21/08/2003, you wrote:
>Hi Julian,
>
>the first point is important though. We just noticed this last week when
>we had a look at our mailwatch logs. To be honest: We are only using
>DNSBL in SpamAssassin and Exim which is why we did not notice it before.
>:-) A fix would be nice...
>
>Regards,
>   JP

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list