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/10/18 22:41:39 UTC

Re: dns resolver problems

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Tomasz Grobelny writes:
> On Saturday 15 October 2005 20:51, Tomasz Grobelny wrote:
> > When I try to start amavis with spam checking code enabled I get the
> > following error:
> > Oct 12 21:26:22 oswiecenia.net /usr/sbin/amavisd[29305]: SpamControl:
> > initializing Mail::SpamAssassin
> > Oct 12 21:26:22 oswiecenia.net /usr/sbin/amavisd[29305]: TROUBLE in
> > pre_loop_hook: Error creating a DNS resolver socket: =A0
> > at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/DnsResolver.pm line 202.
> >
> > My network (including DNS servers) seems to work just fine. I found a
> > bugreport (http://bugzilla.spamassassin.org/show_bug.cgi?id=3D4619) with
> > similar message but my system is IPv4/IPv6 enabled. In /etc/resolv.conf
> > file only IPv4 server is active. What may cause the problem? TIA
> Come on, someone must have written that code. Nobody had similar problems?

you should (a) comment on bug 4619, instead of here, and (b) attempt
to reproduce it with the "spamassassin" command line script
instead of amavisd.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFDVV4DMJF5cimLx9ARAp31AKC26JMuffBmhfCswjXjsmA+qAfuOgCbBM0H
KpD446EZ8AkjHPUG300EO/k=
=UhtT
-----END PGP SIGNATURE-----


Re: dns resolver problems

Posted by Tomasz Grobelny <to...@grobelny.oswiecenia.net>.
On Tuesday 18 October 2005 22:41, Justin Mason wrote:
> Tomasz Grobelny writes:
> > On Saturday 15 October 2005 20:51, Tomasz Grobelny wrote:
> > > When I try to start amavis with spam checking code enabled I get the
> > > following error:
> > > Oct 12 21:26:22 oswiecenia.net /usr/sbin/amavisd[29305]: SpamControl:
> > > initializing Mail::SpamAssassin
> > > Oct 12 21:26:22 oswiecenia.net /usr/sbin/amavisd[29305]: TROUBLE in
> > > pre_loop_hook: Error creating a DNS resolver socket: =A0
> > > at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/DnsResolver.pm line
> > > 202.
> > >
> > > My network (including DNS servers) seems to work just fine. I found a
> > > bugreport (http://bugzilla.spamassassin.org/show_bug.cgi?id=3D4619)
> > > with similar message but my system is IPv4/IPv6 enabled. In
> > > /etc/resolv.conf file only IPv4 server is active. What may cause the
> > > problem? TIA
> >
> > Come on, someone must have written that code. Nobody had similar
> > problems?
>
> you should (a) comment on bug 4619, instead of here, 
Message was the same but conditions different and that's why I didn't comment 
on that bug. But I'll try doing so next time.

> and (b) attempt to reproduce it with the "spamassassin" command line script
> instead of amavisd.
>
The same thing happened when using command line script as when using amavis.
Anyway, after upgrading some packages everything works as expected. It must 
have been distribution specific problem (dependencies, package versions, etc) 
that was fixed just a few hours ago (so I haven't noticed). And I'll keep 
your advice for future bugreports, thanks.
-- 
Regards,
Tomasz Grobelny