• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

SpamAssassin update from 3.3.1 to 3.4.1

My sample above only for 32bit src.rpm package. Use 64bit src.rpm for building 64bit Spamassassin package. Do not mix architectures.
 
Ok. My brief instruction for CentOS6.
Note, it is common instruction and you may have own nuances for your system.

1. Install all necessary packages:

# yum install rpm-build openssl-devel gcc make perl-Geo-IP perl-Mail-SPF perl-Net-CIDR-Lite

2. Download src.rpm package from Fedora repository:

# wget ftp://195.220.108.108/linux/fedora-secondary/development/rawhide/source/SRPMS/s/spamassassin-3.4.1-7.fc24.src.rpm

you can take this package from any other repository.

3. Build rpm package:

# rpmbuild --rebuild spamassassin-3.4.1-7.fc24.src.rpm

4. Update spamassassin:

# rpm -Uvh /root/rpmbuild/RPMS/i686/spamassassin-3.4.1-7.el6.i686.rpm

5. Check that it is up and running:

# /etc/init.d/spamassassin status
spamd (pid 21859) is running...
I went to the above FTP repository, and didn't see a version specifically labeled 64-bit. Is there a better source?

Or is it how it's built? Why not just repost this with the proper links and steps?

Peace,
Gene
 
Or is it how it's built? Why not just repost this with the proper links and steps?
Why do not you try it yourself? Why you can't use direction given by me above?

Well, I did it for you on my test CentOS release 6.5 x86_64:

# yum install rpm-build openssl-devel gcc make perl-Geo-IP perl-Mail-SPF perl-Net-CIDR-Lite perl-Archive-Tar
# wget ftp://195.220.108.108/linux/fedora-secondary/development/rawhide/source/SRPMS/s/spamassassin-3.4.1-7.fc24.src.rpm
# rpmbuild --rebuild spamassassin-3.4.1-7.fc24.src.rpm

as result you have x86_64 spamassassin CentOS6 rpm:

# ll rpmbuild/RPMS/x86_64/spamassassin-3.4.1-7.el6.x86_64.rpm
-rw-r--r-- 1 root root 1316076 May 11 07:42 rpmbuild/RPMS/x86_64/spamassassin-3.4.1-7.el6.x86_64.rpm

I hope it will help.
 
Is there a CentOS 6.8 86_64 package? The 6.5 package is not working for me.
As you can see. I took src.rpm for Fedora Core - spamassassin-3.4.1-7.fc24.src.rpm but not for any special version of CentOS.
 
Hi, im trying to upgrade spamassassin too.
Im running CentOS 6 x64 with Plesk 12.
After run :
# rpm -Uvh /root/rpmbuild/RPMS/x86_64/spamassassin-3.4.1-7.el6.x86_64.rpm
I get this error:
error: Failed dependencies:
perl(Geo::IP) is needed by spamassassin-3.4.1-7.el6.x86_64
perl(Net::CIDR::Lite) is needed by spamassassin-3.4.1-7.el6.x86_64

I tried to install that with yum, but say not exists. Then I installed it with cpan, but still get the error.
What can i do? I want to upgrade spamassassin because since this Monday, there a lot of spam that get very low scores, so just hope that upgrade help...

PD: sorry for my english...
 
Back
Top