SpamAssassin 3.1.0 released

Well the spamassassin website says sept 22nd rls date and has no changelog up yet, so I wont be upgrading until I read that.
 
Ok but do you have any release notes?

It seems to me the page has been made ready and you have stumbled across it but the official release date will be the 22nd.
 
It's on the front page now, released 9/14. Theres a changes file in the kit, but I can't find an official Changelog.

Install went fine for me.
 
Did you require any change in your exim configuration?

Any improvement in the spam detection rate?
 
Even more important, any changes required to how DA manages per-user SpamAssassin?

Jeff
 
Upgrade Doc:
http://svn.apache.org/viewcvs.cgi/*checkout*/spamassassin/tags/spamassassin_release_3_1_0/UPGRADE

Nothing really new for users.

DCC and Razor2 are now disabled...

Highlights:
Code:
- Apache preforking algorithm adopted; number of spamd child processes is now
  scaled, according to demand.  This provides better VM behaviour when not
  under peak load.

- added PostgreSQL, MySQL 4.1+, and local SDBM file Bayes storage modules. SQL
  storage is now recommended for Bayes, instead of DB_File. NDBM_File support
  has been dropped due to a major bug in that module.

- detect legitimate SMTP AUTH submission, to avoid false positives on
  Dynablock-style rules.

- new plugins: DomainKeys (off by default), MIMEHeader: a new plugin to perform
  tests against header in internal MIME structure, ReplaceTags: plugin by Felix
  Bauer to support fuzzy text matching, WhiteListSubject: plugin added to
  support user whitelists by Subject header.

- Razor: disable Razor2 support by default per our policy, since the service is
  not free for non-personal use.  It's trivial to reenable (by editing
  '/etc/mail/spamassassin/v310.pre').

- DCC: disable DCC for similar reasons, due to new license terms.

- Net::DNS bug: high load caused answer packets to be mixed up and delivered as
  answers to the wrong request, causing false positives.  worked around.

- DNSBL lookups and other DNS operations are now more efficient, by using a
  custom single-socket event-based model instead of Net::DNS.
 
Last edited:
From the release notes:
- added PostgreSQL, MySQL 4.1+, and local SDBM file Bayes storage modules. SQL
storage is now recommended for Bayes, instead of DB_File. NDBM_File support
has been dropped due to a major bug in that module.
 
a how to ???

Any how to for upgrading SA 3.0.4 to 3.1.0 on DA FC3 box ???
 
This must working on FreeBSD servers:

# ee /usr/local/directadmin/scripts/spamd.sh

Search for:
VERSION=X.X.X

And replace with:
VERSION=3.1.0
#VERSION=X.X.X

Search for:
WEBPATH=http://files.directadmin.com/services/9.0

And replace with:
WEBPATH=http://apache.surfnet.nl/spamassassin/source
#WEBPATH=http://files.directadmin.com/services/9.0

After that you can save and exit that file.

# /usr/local/directadmin/scripts/spamd.sh
# killall spamd
# killall exim
# /usr/bin/spamd -d -c -m 5
# /usr/local/etc/rc.d/exim.sh start

It is possible that when you try to start spamd you get some errors of missing PERL modules. In that case you need to install the following modules:

Net-IP-1.23
Digest-HMAC-1.01
Net-DNS-0.53
 
Hi,

In the spam.sh process i have following errors :
Code:
optional module missing: Net:: DNS
optional module missing: Mail::SPF::Query
optional module missing: IP::Country
optional module missing: Razor2
optional module missing: Net::Ident
optional module missing: IO::Socket::INET6
optional module missing: IO::Socket::SSL
optional module missing: Time::HiRes
optional module missing: DBI
optional module missing: LWP::UserAgent
optional module missing: HTTP:: Date
optional module missing: Archive::Tar
optional module missing: IO::Zlib

So i'm going to need to install those optionnal modules you mentioned... but being a newbie i'd like a little help on how i should have these install..
edited : I thought i'd get on with your how to and restart services.

When trying to restart spam.d what is mostly needed is NET-DNS
. I managed to wget it on server, but don't know what to do here on....
edited : Went a step further and managed to wget all packages, and untar the packages : but i have a problem on Net-DNS-0.53.tar.gz

# tar -xvzf Net-DNS-0.53.tar.gz
# cd Net-DNS-0.53
I then did the command :
# perl Makefile.PL
but i then get this :
|The libraries needed to support IPv6 transport have not been |found.
|You will need recent versions of the IO::Socket::INET6 and |Socket6
|libraries (from CPAN).

Thks for your help

tdldp


EDITED LAST in this Message :

Ok so in resume, i went on to start spamd
There it asks me to install Net-DNS
in fact it's not only the 3 packages you indicated that are necessary, is needed : (must be installed in order)
Net-IP-1.23
Digest-HMAC-1.01
Socket6-0.19
IO-Socket-INET6-2.51
Net-DNS-0.53

for each package i did :
# wget package
# cd package
# perl Makefile.PL
# make
# make test
# make install

i only get a problem with 2 last packages : IO-Socket and Net-DNS

See message below for further problems..

Tdldp
 
Last edited:
You should try to use the OS packaging first if the modules are available. Under RH/Centos, the default yum repository or Dag's repoistory at http://dag.wieers.com/home-made/apt/. contain most of these packages.

Following that, you should install perl modules using CPAN, which will resolve the dependencies for you as well and build from source:
Code:
perl -MCPAN -e shell
In this case, once you get to the command prompt, just:
Code:
install Net::DNS
 
thks for this advice, which i followed.

I had yet advanced enough to get up to installing required IO::Socket::INET6 (required in Net::DNS)

But there i get a huge problem...

Via CPAN or manual install (which is what i hade done first)
i get the following :

t/io_sock6..........dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 12-20
Failed 9/20 tests, 55.00% okay
t/io_udp6...........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/io_sock6.t 4 1024 20 18 90.00% 12-20
Failed 1/3 test scripts, 66.67% okay. 9/32 subtests failed, 71.88% okay.
make: *** [test_dynamic] Erreur 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force


Why this ???

Thks for help

Tdldp
 
Last edited:
Well since implementing this version and even after reenabling DCC I have some spam getting through and previously it was catching all my spam, it seems to be doing less tests as spam is getting low scores around 2.5-3
 
Back
Top