Upgrading spamassassin

Kevin Miller Kevin_Miller at ci.juneau.ak.us
Thu Aug 21 00:52:47 IST 2014


I uninstalled 3.3.1 first, then installed from the tarball.  It seemed to go fine.  Thanks for the heads up on the /usr/local/bin change.  Had to edit a few files to get sa-update and sa-compile to work but nothing insurmountable.

I also added in a couple missing optional perl modules.  Par for the course I suppose.

I am using MailWatch, but the only reference to spamassassin in conf.php is:
  define('SA_RULES_DIR', '/usr/share/spamassassin/');
which doesn't exist.  Not sure what to replace that with.  If I had to hazard a guess I'd say /var/lib/spamassassin/3.004000/ or maybe /var/lib/spamassassin/compiled/5.010 but I don't really know.  On a different box that's still on 3.3.1 it exists but there's not much in it:
-rw-r--r--   1 root root 101479 Mar 24  2011 languages
-rw-r--r--   1 root root   4777 Mar 24  2011 sa-update-pubkey.txt
-rw-r--r--   1 root root   1869 Mar 24  2011 user_prefs.template

Certainly not any rules.  I don't know if this is an issue or not.

Also had a bug in razor2.pm but a google search quickly put that to rights...

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357 


-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Tracy Greggs
Sent: Tuesday, August 19, 2014 11:54 AM
To: 'MailScanner discussion'
Subject: RE: Upgrading spamassassin

This is one of those things where I gave up on the repo's quite some time ago and install from source.

Centos 5.x and 6.x

Source installs the binary in /usr/local/bin/ so you might need a symlink for /usr/bin/spamassassin if you are using Mailwatch or you might need to edit your MailWatch conf.php for the location of SA.

It is a pretty quick install and I personally have had no issues with installing from source.  Agreed not as easy as yum update spamassassin but it has been totally painless anyway.

Best of luck,

Tracy


-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Kevin Miller
Sent: Tuesday, August 19, 2014 1:55 PM
To: MailScanner List (mailscanner at lists.mailscanner.info)
Subject: Upgrading spamassassin

Historically I've used Jules' prepackaged spamassassin tarballs to install/upgrade.  Those seem to have fallen by the wayside now however.  I'm on spamassassin 3.3.1.  What's the best way to get current?  

The OS varies by email host:
	centOS 5.10
	centOS 6.5
	SLES 10.4 & 11.2

Any caveats to just downloading from spamassassin.org and installing?  RPMs are so much more convenient, but they seem to be stagnant an awful lot of the time.  My test server has both epel and rpmforge repos added but they're "stale" as well.

TIA...

...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500 Registered Linux User No: 307357 


--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 

--
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.


--
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list