Matthew, I never had a problem with a hang. My problem was that it would get back incorrect results. It was making ham as spam when it should not have. I was told to upgrade Net::DNS it to the latest version. I can only suggest the same to you.
Which version of perl and Net::DNS are you running? Thanks, Dhaval Matthew Bickerton <[EMAIL PROTECTED]> said: > I am having a problem with the Net::DNS module. It just hangs up when trying > to resolve a domain to get the TXT data for SPF tests in spanassassin. If I > try to reinstall the module it fail the make test. How did you solve the > problem? > > Matthew > > -----Original Message----- > From: Daryl C. W. O'Shea [mailto:[EMAIL PROTECTED] > Sent: 30 January 2007 19:41 > To: Dhaval Patel > Cc: users@spamassassin.apache.org > Subject: Re: spamc using different perl > > Dhaval Patel wrote: > > I am running a Debian stable system and have perl 5.8.4 installed from the > Debian packages. > > > > I had a problem with the Net::DNS module a while back and upgrade perl to > 5.8.8 using > > CPAN. This upgrade installed perl 5.8.8 as the default perl version system > wide. > > > > Unfortunately Debconf is not part of CPAN, so I cannot install it in > 5.8.8. Because of > > this, certain Debian utilities will not work. > > > > Is there anyway to tell spamc to use perl 5.8.8 and leave the rest of the > system to use > > the Debian 5.8.4? > > > > Both versions are currently on the system. /usr/bin has perl5.8.4 and > perl5.8.8 > > binaries. Currently /usr/bin/perl is the 5.8.8 binary for spamassassin. > > > > Will changing the top line of /usr/bin/spamassassin be all that is needed > for spamc? > > spamc couldn't care less what version of Perl is on your system since > it's written in C. > > All the other programs that ship with SA (spamassassin, spamd, > sa-update, etc) are written in Perl. If you want those programs to use > a different perl (and I would suggest they all use the same perl), yeah, > you can change the shebang line to point at a different perl. > > > Daryl > > --