[CentOS] Problem with spamassassin under CentOS-5.7

Mon Jan 23 00:05:37 UTC 2012
Timothy Murphy <gayleard at eircom.net>

Alexander Dalloz wrote:

>> I'm getting the following warning in my logwatch,
>> or if I restart the spamassassin service.
>> I've tried yum-reinstalling the packages involved
>> but that didn't help.
>> -------------------------------
>> /etc/cron.daily/sa-learn:
>> 
>> Subroutine IO::Socket::INET6::AF_INET6 redefined at
>> /usr/lib/perl5/5.8.8/Exporter.pm line 65.
>>  at /usr/lib/perl5/vendor_perl/5.8.8/IO/Socket/INET6.pm line 16
>> Subroutine Net::DNS::Resolver::Base::AF_INET6 redefined at
>> /usr/lib/perl5/5.8.8/Exporter.pm line 65.
>>  at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-
>> multi/Net/DNS/Resolver/Base.pm line 66
>> Learned tokens from 1 message(s) (1 message(s) examined)
>> -------------------------------
>> 
>> I wonder if anyone else is getting this?
> 
> There has been a long thread about it very recently
> 
> http://lists.centos.org/pipermail/centos/2012-January/121652.html

Thanks, I missed that.
I found the recipe near the end of the thread solved the problem for me.
----------------------------------------
rpm -e --nodeps perl-NetAddr-IP

vi /etc/yum.repos.d/rpmforge.repo
     -- change all enabled = 1 to enabled = 0 temporarily (seems like
        yum priorities is going to be a good idea) --

yum install perl-NetAddr-IP
----------------------------------------

-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College Dublin