hateSpam wrote:
I haven't installed it. it was already installed. Do you mean I should delete
the current spamassassin and reinstall new version?

To upgrade SpamAssassin, you normally just install the new version on top of the old one. But if you install with different settings or a different install method than the old one, you can end up with two versions on the system or pieces of the two in different places. This can cause some really annoying problems.

You can try to figure out where the old one came from.

If it was installed via CPAN, this command will show the install dates:
$ perldoc -t perllocal | grep SpamAssassin

If it was installed via rpm, you can look for it this way:
$ yum list installed 'spamassassin*'

If neither of those two commands give any output, then it was probably installed from source. You can poke around the system to see if the source for the old version is still around anywhere. If so, you can look in the config.log file to see what the configure command looked like and build the new one with the same command.

If in doubt, the safest thing to do is to remove the old one and then install the new one from scratch via whichever method you prefer. If the old one was an rpm, you can simply use the 'yum remove' command to get rid of it. Otherwise, you'll need to dig into Perl's module directories and the system binary directories (/usr/bin, /usr/local/bin, etc) and remove it yourself.

--
Bowie

Reply via email to