SpamAssassin 2 versions installed

chaser010

Verified User
Joined
Sep 12, 2006
Messages
15
I've got 2 versions of SpamAssassin running. I initially installed via the old method. I think via the spam.sh script. Now that custombuild 2.0 is being used it won't update.

How can I remove the old installation and use the new one ?

[root@server2 scripts]# /usr/bin/spamassassin --version
SpamAssassin version 3.4.4
running on Perl version 5.16.3

[root@server2 scripts]# spamassassin -V
SpamAssassin version 3.4.1
running on Perl version 5.16.3




[root@server2 custombuild]# ps aux | grep spam
root 27263 0.0 0.0 285252 29692 ? Ss 2018 95:21 /usr/bin/spamd -d -c -m 5
root 2519971 0.0 0.2 314728 82620 ? S Oct21 0:43 spamd child
root 3022090 0.0 0.1 297776 64224 ? S 08:52 0:01 spamd child
root 3147808 3.1 0.2 303848 82088 ? Ss 11:03 0:00 /usr/bin/perl -T -w /usr/bin/spamd --pidfile /var/run/spamd.pid -d -c -m 15 --ipv4
root 3147820 1.7 0.2 309904 87800 ? S 11:03 0:00 spamd child
root 3147821 0.0 0.2 303848 79380 ? S 11:03 0:00 spamd child
root 3147940 0.0 0.0 114696 968 pts/0 S+ 11:04 0:00 grep --color=auto spam
 
SpamAsassin is installed with Apt or Yum and can be uninstalled by specifying the specific version.

i.e. with php you would run:

Centos
yum remove php72

Ubuntu / Debian
apt remove php7.2

Try this link:

It shows how to remove configs too.
 
Thanks, it's not installed with yum? I just found that the latest version are being used by the mail server although the old one is still there.
 
Was this a CB 1 server?
What is the os?

Did you follow the convert guide on how to move from 1 to 2?

once you are sure it’s all working

try running
./build clean
./build update
./build remove_items
 
Back
Top