YMMV- I am not sure the *proper* way to do this (but I am glad there is no registry- :) ).
Here ya go! find /usr/lib/per5 -name SpamAssassin.pm I have deleted mine but you should have 2 listings: /usr/lib/perl5/site-perl/5.8.5/Mail/SpamAssassin.pm /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin.pm The site-perl is, I believe, is the location where cpan installs. I can confirm this by doing the following find where the rpm installs to: rpm -q spamassassin -l|grep SpamAssassin.pm result: /usr/lib/perl5/vendor_perl/5.8.5/Mail/SpamAssassin.pm The location should be one of those 2 entries and THAT is the one you want to keep. I then, for safety's sake, moved the non-rpm version, located at /usr/lib/perl5/site-perl/5.8.5/Mail mv /usr/lib/perl5/site-perl/5.8.5/Mail /root/spamassassin_Mail Finally, running "/usr/sbin/amavisd -d bayes debug-sa" as user amavis and should so no errors about version mismatches. There may be other errors particular to your installation. I got some based on specific rules not having something but nothing about entire CF files not being used. If there is a better PERL way of doing this, I would appreciate anything offered in that regard. BTW- I think that this happened because a yum dependancy wasn't available via yum so I used CPAN(site-perl) to meet the dependancy. Later, yum got the dependancy and installed it into vendor-perl. Hope it helps! Dave Augustus On Tue, 2006-11-28 at 19:27 -0800, Quinn Comendant wrote: > How did you uninstall the cpan version? Just for the hell of it I ran the > same test you did and I also have two versions installed (although my SA is > running fine). I should uninstall the unused version, no? > > Quinn > > On Tue, 28 Nov 2006 14:53:49 -0600, Dave Augustus wrote: > > TADA! 2 installs- the one in site-perl must have come from cpan.