Keith Dunnett schrieb:
There is a problem with Net::DNS. How can I update this pachages to
the newest version.
spamassassin --lint
[15694] warn: dns: Net::DNS version is 0.12, but need 0.34 at
/usr/local/share/perl/5.6.1/Mail/SpamAssassin/Dns.pm line 589.
First try:
# apt-get update
# apt-get install libnet-dns-perl
This is the Debian way, should get you v0.48. For future reference, to
find unknown Debian
packages, you can use 'apt-cache search <what>', followed by 'apt-get
install <packagename>'.
Always run 'apt-get update' first, to be sure you have the latest
package information.
If it doesn't work, here is the CPAN way:
# perl -MCPAN -e shell
# install Net::DNS
Use one or the other, not both. Debian packages are preferred.
Spamassassin is now installed on an other directory than befor.
Old: /etc/spamassassin
New: /etc/mail/spamassassin
Is that right?
Yes. By default, spamassassin will use this directory for
configuration files, as described in
'man spamassassin'.
How can I check that spamassassin works fine?
Feed it a bunch of spam on the commandline. e.g. save a message as
spam.txt and then invoke
spamassassin as appropriate. This depends also on how you intend to
call it for incoming mail,
as *that* is what needs to work.
Be aware that the config options are important; the use of network
tests doubles the efficiency
of SpamAssassin, so go through your config files carefully. The
defaults may work, but they will
not work as well as is possible with complete configuration.
Hope that helps, and wishing you the best of luck.
Regards,
Keith
PS. If your system is that out of date, it is quite old. You might
like to run 'apt-get -s upgrade' to
find out which packages the system thinks you should update.
Net::DNS ist up to date.
Spamassassin say:
[7841] warn: dns: Net::DNS version is 0.12, but need 0.34 at
/usr/local/share/perl/5.6.1/Mail/SpamAssassin/Dns.pm line 589.
There are more errors:
[32544] dbg: diag: module not installed: Razor2::Client::Agent
('require' failed)
Warning: Cannot install Razor2::Client::Agent, don't know what it is.
Try the command
[32544] dbg: diag: module not installed: Net::Ident ('require' failed)
runtests @ARGV;' t/*.t
t/0use......Net::Ident::_export_hooks() called too early to check
prototype at blib/lib/Net/Ident.pm line 29.
t/0use......ok
t/Ident.....Net::Ident::_export_hooks() called too early to check
prototype at blib/lib/Net/Ident.pm line 29.
Here stopped the installation.
[32544] dbg: diag: module not installed: IO::Socket::INET6 ('require'
failed)
Failed 2/3 test scripts, 33.33% okay. 25/32 subtests failed, 21.88% okay.
make: *** [test_dynamic] Error 11
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Karsten