You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2005/06/10 19:00:52 UTC
Re: Net::DNS problem?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
btw, have you reported this to the Net::DNS maintainers?
it'd be good to fix this upstream (as I don't think there's
much we can do inside SpamAssassin).
- --j.
Tim Rosmus writes:
> On Fri, 10 Jun 2005, E. Falk wrote:
>
> |# I should mention that I cannot determine the source of this problem exactly,
> |# but if I ran "make test" on 0.50 the "escapedchar" tests failed. If I went
> |# ahead and installed it anyway, I got the remote addr struc errors unless I
> |# told SpamAssassin that dns was not available (not a good option since it
> |# meant I couldn't use SURBL!)
> |#
> |# So I looked at the changelog to figure out when these escapedchar tests were
> |# put in, and it appeared to be pretty recent. Regressing to 0.48 seemed to do
> |# be far enough back to get rid of those tests and now everything works.
> |#
> |# > > scanhub02:~ # spamassassin --lint
> |# > > ;; remote addr struc: 020000357f0000010000000000000000
>
> Here's what I did for this....
>
> *** lib/Net/DNS/Resolver/Base.pm.orig Fri Jun 10 09:33:33 2005
> --- lib/Net/DNS/Resolver/Base.pm Fri Jun 10 09:33:53 2005
> ***************
> *** 1059,1065 ****
>
>
> print ";; bgsend($ns_address : $dstport)\n" if $self->{'debug'};
> ! print ";; remote addr struc: ".unpack("H*", $dst_sockaddr)."\n";
>
> foreach my $socket (@socket){
> next if !defined $socket;
> --- 1059,1065 ----
>
>
> print ";; bgsend($ns_address : $dstport)\n" if $self->{'debug'};
> ! print ";; remote addr struc: ".unpack("H*", $dst_sockaddr)."\n" if $self->{'debug'};
>
> foreach my $socket (@socket){
> next if !defined $socket;
>
> As for the "escapedchar" tests, this also failed for me under Solaris
> but worked under Alpha NetBSD 2.02. I installed it anyway and all
> is running fine.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Exmh CVS
iD8DBQFCqcdEMJF5cimLx9ARAlQ5AJwOr9GZSLlQz0/nqDBeYnmrEmqXwQCfXlk2
xNy4CdhybvB7N8wF0IfAECI=
=LQ40
-----END PGP SIGNATURE-----
Re: Net::DNS problem?
Posted by Tim Rosmus <tr...@nwnexus.net>.
On Fri, 10 Jun 2005, Justin Mason wrote:
|# btw, have you reported this to the Net::DNS maintainers?
|# it'd be good to fix this upstream (as I don't think there's
|# much we can do inside SpamAssassin).
|#
0.51 has already been released that addresses the overlooked debug
statement (http://www.net-dns.org/). I still get failures in
the "11-escapedchars.t" test under Solaris-8/Perl-5.8.6 though.
--
Tim Rosmus <tr...@nwnexus.net>
Postmaster / USENET / DNS
Northwest Nexus Inc.