SpamAssassin 3.2.0 released!

will-lo

Verified User
Joined
May 16, 2006
Messages
48
Location
Hong Kong
Just to share with you guys who are using SARE.
This is a temp fix if you are using english only rules:

Add:
use bytes;

to the Message.pm file. Restart spamd.

There will be no more UTF-8 error message in maillog. Thanks.:D
 

will-lo

Verified User
Joined
May 16, 2006
Messages
48
Location
Hong Kong
It's safe if:
1) you are using perl 5.8.8 and
2) you don't run custom rulesets like SARE

if you are using perl < 5.8.8 and you run English custom rulesets, you can add use bytes as stated in my previous post. Spamassassin 3.2 works fine here.
 

modem

Verified User
Joined
Apr 7, 2004
Messages
386
That would make sense as to why my system hung... I have alot of SARE rulesets and when I upgraded to 3.2.0... the system started running out of memory and came to a halt.
 

bengrubb

Verified User
Joined
May 20, 2006
Messages
19
# killall -9 spamd
# /usr/bin/spamd -d -c -m 5

is enought to fix it, without reboot the box.

Code:
>/usr/bin/spamd -d -c -m 5
[8727] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[8727] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[8727] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
spamd: could not create INET socket on 127.0.0.1:783: Address already in use
Thank you.
 

modem

Verified User
Joined
Apr 7, 2004
Messages
386
I moved my /etc/mail/spamassassin folder to /etc/mail/spamassassin-backup along with all the rules it contained and then installed spamassassin 3.2.2 on my system and all worked great thus far.

I'm using CentOS 3.3 with Perl 5.8.0.
 

snaaps

Verified User
Joined
Jan 29, 2005
Messages
230
Location
Netherlands
Works for me:

PHP:
wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.56.tar.gz
PHP:
tar xvzf HTML-Parser-3.56.tar.gz
PHP:
cd HTML-Parser-3.56
PHP:
perl Makefile.PL
PHP:
make
PHP:
make install
And run ./spam.sh again
 

hexxxxxx

Verified User
Joined
Jan 21, 2008
Messages
6
Code:
>/usr/bin/spamd -d -c -m 5
[8727] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[8727] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[8727] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
spamd: could not create INET socket on 127.0.0.1:783: Address already in use
:(



EDIT: resolved with reboot ;)

No reboot needed just type killall spamd then /usr/bin/spamd -d -c -m 5

The answer for this error is that spamd is already running and it sees it as a pid running so kill off the pids and run the command to start spamd again.

Good day and thanks for the help.:D
 

Elfodellanotte

Verified User
Joined
Apr 12, 2008
Messages
81
Location
Brno (Czech Republic)
Works for me:

PHP:
wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.56.tar.gz
PHP:
tar xvzf HTML-Parser-3.56.tar.gz
PHP:
cd HTML-Parser-3.56
PHP:
perl Makefile.PL
PHP:
make
PHP:
make install
And run ./spam.sh again
it work to me as well, but HTML parse you can find to this followed link :
PHP:
wget ftp://ftp.fi.debian.org/pub/gentoo/distfiles/HTML-Parser-3.56.tar.gz
and than, when you'll go to make sa-update and you find an error about a missed user agent, i remember you to visit this page:
PHP:
http://help.directadmin.com/item.php?id=274
libwww-perl-5.832.tar.gz you can find to this followed link :
PHP:
wget http://cpan.yimg.com/modules/by-authors/id/GAAS/libwww-perl-5.832.tar.gz
than in the end, how to check if the update is up properly??
Well, by root type :
PHP:
perl -MMail::SpamAssassin -e 'print $Mail::SpamAssassin::VERSION;'
This command will show you which version you are running actually.

Regards and have a nice Vacation all :)
 
Last edited:

ben29

Verified User
Joined
Jul 20, 2006
Messages
473
Location
isreal
Code:
>/usr/bin/spamd -d -c -m 5
[8727] warn: server socket setup failed, retry 1: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[8727] warn: server socket setup failed, retry 2: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
[8727] error: spamd: could not create INET socket on 127.0.0.1:783: Address already in use
spamd: could not create INET socket on 127.0.0.1:783: Address already in use
:(



EDIT: resolved with reboot ;)
man , the error that you got it's mean : the pid already exists.
for next time:
Code:
killall -w spamd
then type the run command
 

hexxxxxx

Verified User
Joined
Jan 21, 2008
Messages
6
No reboot needed just type killall spamd then /usr/bin/spamd -d -c -m 5

The answer for this error is that spamd is already running and it sees it as a pid running so kill off the pids and run the command to start spamd again.

Good day and thanks for the help.:D
make sure syslog service is start or spamd goes nuts.

Here is exact commands I ran after update of spamd

killall spamd

also did it again to make sure

killall spamd
spamd: no process killed <---- good

then

service syslog restart

then

setup

then

system services

and enabled syslog to auto start on system boot.

All working. Now


Thanks for everyone's help ... good day.
 

jjma

Verified User
Joined
Mar 29, 2004
Messages
329
Location
Edinburgh,Scotland
Next Version Update

I'm still running the stock install of spamassasin which is 3.2.5 although the latest version on the apache.spamassasin web site is 3.3.1.

Is there a release coming out soon or a rule update that can be used?

Jon
 
Top