View Full Version : SpamAssassin 3.0.2
werwin01
01-21-2005, 02:40 AM
SpamAssassin 3.0.2 (DA runs 3.0.1) was released on Dec 16, 2004.
http://spamassassin.apache.org/
hostpc.com
01-25-2005, 09:35 AM
Has anyone successfully upgraded to this version yet?
matrixx
01-25-2005, 01:45 PM
Yep - I've got it running on 2 DA boxes one a straight install one an upgrade - both work fine
Rob
Chrysalis
01-25-2005, 06:27 PM
also using 3.02 however I upgraded myself as I thought DA bundles with 2.x
MagnuM
01-26-2005, 01:50 AM
Can you tell me some details about how to upgrade?
dannygoh
01-26-2005, 05:41 AM
i also need a quick update instructions
I'd like to know too.
regards
John
cyberdots
02-01-2005, 02:12 PM
Can u tell us how you upgrade Spam Assasin ?
I have DA 1.23.3 and use SpamAssassin 2.64 (2004-01-11) on a FREEBSD box.
interfasys
02-01-2005, 05:09 PM
spamassasin is in FreeBSD ports, so it shouldn't be too hard.
Chrysalis
02-01-2005, 09:00 PM
Read the howto section, and yes for FreeBSD users you have an easy way out install the port.
NVarra
02-01-2005, 11:48 PM
You could always just edit: /usr/local/directadmin/scripts/spam.sh
1. Change the version number to 3.0.2
2. Change the download URL to the official SA download site.WEBPATH=http://apache.ntcity.co.uk/spamassassin/source3. Then run it to upgrade.
# /usr/local/directadmin/scripts/spam.sh
Manual install/upgrade is just as easy though. :)
# wget http://apache.ntcity.co.uk/spamassassin/source/Mail-SpamAssassin-3.0.2.tar.gz
# tar -xzf Mail-SpamAssassin-3.0.2.tar.gz
# rm -f Mail-SpamAssassin-3.0.2.tar.gz
# cd Mail-SpamAssassin-3.0.2
# perl Makefile.pl
# make
# make install
# /usr/bin/spamd -d -c -m 5
Later.....
werwin01
02-02-2005, 02:12 AM
Manual install and ports install on FreeBSD 5.3 did not work.
Editing the spam.sh script worked.
Chrysalis
02-03-2005, 05:31 AM
Originally posted by werwin01
Manual install and ports install on FreeBSD 5.3 did not work.
Editing the spam.sh script worked.
yeah the spam.sh method will work better use that, I forgot the exact method I used to be honest.
rldev
02-03-2005, 07:46 AM
Hmm,
I tried the spam.sh script.
It looked to go fine.
However, emails still read 3.01
I tried restarting but am not able to:
Could not create INET socket on 127.0.0.1:783: Address already in use
I just ran a kill -TERM on the parent spamd process and restarted. All is working
MagnuM
02-03-2005, 08:37 AM
OK, it seems the upgrade work fine on Red Hat Enterprise AS3.
This is what I got on emails:
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on ...
X-Spam-Level: *
X-Spam-Status: No, score=1.6 required=5.0 tests=AWL,FORGED_RCVD_HELO,
HTML_90_100,HTML_MESSAGE,HTML_TAG_EXIST_MARQUEE,HTML_TAG_EXIST_TBODY
autolearn=no version=3.0.2
Why is the level * ?
andyl
02-03-2005, 10:11 AM
Why is the level * ?
That's SA's representation of the numeric spam score in X-Spam-Status; it makes it easier to create filters based on a score; if you look for:
X-Spam-Level: ****
you'll catch all mail with a score of four or higher. It's easier for every mail client I've seen than parsing the numeric score.
(Or did you mean why did SA come up with a score of 1.6?)
Andy
MagnuM
02-04-2005, 03:05 AM
Let me explain what I understand:
The greater the X-Spam-Level is (more **...) the greater the posibility to chch spam is (even with the risc of detecting as a SPAM the email which are good)
So how can I increase that spam level?
Anyway, my Threshold is 5.0 there in DirectAdmin SA setup page.
XerionHosting
02-10-2005, 04:05 AM
Well in Redhat 9.0 there are some problems:
I changed the version and stuff and this happens:
The error was:
version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: Can't locate Digest/SHA1.pm in @INC (@INC contains: ../lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
Compilation failed in require at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
Compilation failed in require at ../lib/Mail/SpamAssassin.pm line 74.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin.pm line 74.
Compilation failed in require at version.h.pl line 27.
make: *** [spamc/Makefile] Error 2
Then i tryd it munualy:
[root@xerionhosting Mail-SpamAssassin-3.0.2]# perl Makefile.PL
What email address or URL should be used in the suspected-spam report
text for users who want more information on your filter installation?
(In particular, ISPs should change this to a local Postmaster contact)
default text: [the administrator of that system] spawn@xerionhosting.nl
Check network rules during 'make test' (test scripts may fail due to
network problems)? (y/n) [n] y
Checking if your kit is complete...
Looks good
Warning: prerequisite Digest::SHA1 0 not found.
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile for Mail::SpamAssassin
Makefile written by ExtUtils::MakeMaker 6.03
[root@xerionhosting Mail-SpamAssassin-3.0.2]# make
Makefile:95: *** missing separator. Stop.
What could it be?
winger
02-16-2005, 02:29 PM
Hi,
I was looking this one and i am not sure, i have a RH9 box with DA and i am still using version 2.64, does anybody knows if i can upgrad to version 3.0.2? Where i can found the best "how to" to do that?
Thanks!!
:D
Erik H.
02-16-2005, 03:51 PM
Originally posted by XerionHosting
Well in Redhat 9.0 there are some problems:
I changed the version and stuff and this happens:
The error was:
version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: Can't locate Digest/SHA1.pm in @INC (@INC contains: ../lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
Compilation failed in require at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
Compilation failed in require at ../lib/Mail/SpamAssassin.pm line 74.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin.pm line 74.
Compilation failed in require at version.h.pl line 27.
make: *** [spamc/Makefile] Error 2
Then i tryd it munualy:
[root@xerionhosting Mail-SpamAssassin-3.0.2]# perl Makefile.PL
What email address or URL should be used in the suspected-spam report
text for users who want more information on your filter installation?
(In particular, ISPs should change this to a local Postmaster contact)
default text: [the administrator of that system] spawn@xerionhosting.nl
Check network rules during 'make test' (test scripts may fail due to
network problems)? (y/n) [n] y
Checking if your kit is complete...
Looks good
Warning: prerequisite Digest::SHA1 0 not found.
Warning: I could not locate your pod2man program. Please make sure,
your pod2man program is in your PATH before you execute 'make'
Writing Makefile for Mail::SpamAssassin
Makefile written by ExtUtils::MakeMaker 6.03
[root@xerionhosting Mail-SpamAssassin-3.0.2]# make
Makefile:95: *** missing separator. Stop.
What could it be?
Hi,
Same problem here of FC2. A solution anyone ?
Regards,
Erik
Originally posted by Erik H.
Hi,
Same problem here of FC2. A solution anyone ?
Regards,
Erik
Try installing the module that is missing.. this should do it:
perl -MCPAN -e 'install Digest::SHA1'
Dec
Erik H.
02-17-2005, 02:36 AM
Originally posted by dec
Try installing the module that is missing.. this should do it:
perl -MCPAN -e 'install Digest::SHA1'
Dec
Okay, that helped a lot. (I got much further)
Now I get :
Could not create INET socket on 127.0.0.1:783: Address already in use (IO::Socket::INET: Address already in use)
when using
/usr/bin/spamd -d -c -m 5
Originally posted by Erik H.
Okay, that helped a lot. (I got much further)
Now I get :
Could not create INET socket on 127.0.0.1:783: Address already in use (IO::Socket::INET: Address already in use)
when using
/usr/bin/spamd -d -c -m 5
Try this:
killall -TERM spamd
then:
/usr/bin/spamd -d -c -m 5
Dec
Erik H.
02-18-2005, 02:02 AM
THank you soo much !
It worked.
winger
02-18-2005, 02:39 AM
Sorry, but what is FC2? Is the version 3.0.2 working in RH9?
winger
02-19-2005, 04:15 PM
Erik H.,
Is the spam assasim 3.0.2 working in your system with RH9 or not?
:)
jmstacey
02-19-2005, 11:36 PM
Originally posted by winger
Sorry, but what is FC2?
Fedora Core 2
Originally posted by dec
Try installing the module that is missing.. this should do it:
perl -MCPAN -e 'install Digest::SHA1'
Dec
no, it doesn't :(
[root@server scripts]# perl -MCPAN -e 'install Digest::SHA1' Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .). BEGIN failed--compilation aborted.
Updating from 2.63 on RHat 9
jmstacey
05-03-2005, 05:48 PM
Try downloading, compiling, and installing it manually torp.
Seems to be a problem with you cpan installation/module.
I've had this CPAN/SpamAssassin problem for a long time. Compiling gave same error.
Now I just installed apt4rpm and voila - 'apt-get install spamassassin' fixed all my worries ;)
cprompt
05-05-2005, 04:11 PM
Running this command
export LANG=en_US
before starting the
perl Makefile.PL
fixed it for me.
It also fixes the "perl -MCPAN -e"
method of upgrading as well.
sander815
05-31-2005, 08:08 AM
anyone who succesfullt upgraded from 2.6x to 3.0x? If yes, what else did you have to change/install/edit etc.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.