Using new Spamassassin User-Interface with Spamassassin version 3.0

fusionictnl

Verified User
Joined
Jun 22, 2004
Messages
1,052
Location
Netherlands
Hello,

When you've installed the new spamassassin version from spamassassin.org. The user-defined files will not work proparly with the new version, because of Deprecation issues.

To fix this alter the following file:

/usr/local/directadmin/data/templates/user_prefs

Original

required_hits |required_hits|
rewrite_subject |rewrite_subject|
subject_tag |subject_tag|
report_safe |report_safe|

|blacklist_from|
|whitelist_from|

New one has to be

required_hits |required_hits|
rewrite_subject |rewrite_subject|
subject_tag |subject_tag|
report_safe |report_safe|

|blacklist_from|
|whitelist_from|

required_score |required_hits|
rewrite_header subject |subject_tag|

Version 3.0.0 Has a more advanced and better spam detection.

Good luck ;) any problems let me know ;)
 
Download the tarball from spamassassin.org

Move it to some directory and use the following commands:

killall spamd (old one down)
perl Makefile.pl
make
make install

Then you can start spamd ;)
 
So can I upgrade to spamassassin 3.0 now and have it work with DA? Or do I need to make the changes mentioned above?

thanks,
brandt
 
To fix this alter the following file:

/usr/local/directadmin/data/templates/user_prefs

So if you look in this file and it isn't changed than change it and upgrade.

Very straight forward :rolleyes:
 
upgrading to DA 1.23 gets me the already altered /usr/local/directadmin/data/templates/user_prefs?
cant find info bout it, except johns post here
 
If you upgrade tyo DA 1.23. You'll see it for yourself ;) If it is not then you can alter it.

Exactly the same answer for you as the one above.
 
ok, but why does /usr/local/directadmin/script/spam.sh still install version 2.64 then?
 
DA still doesn't upgrade the packages on your system. So if you want to upgrade something. You'll have to do it yourself!
 
ok, i know that, but does SA2.64 work with the new user_prefs file? or is it only valid for 3.0?
 
spam assassin newbie help

Hi!
Yesterday I got a new Direct Admin VPS...

Then executed the SA 2.64 installer
/usr/local/directadmin/scripts/spam.sh

then followed your instructions for upgrading (downloaded the last version, runned make and make install)

Then verified the template at
/usr/local/directadmin/data/templates/user_prefs
and surprisingly it didn´t need a change.

Now the question is: how do I start spam assassin?
 
Re: spam assassin newbie help

albatroz said:
Hi!
Now the question is: how do I start spam assassin?

# /usr/bin/spamd -d -a -c -m 5

Actually I'm not sure that the -a is needed anymore. but try it and if it doesn't work try it without the -a.

Also did you make the changes to exim.conf?
Look HERE but ignore the install stuff since you already have it installed.
 
Yes, I did... and actually had it working....
15 minutes later :)

BTW I wonder why Spamd does not appear in the list of daemons running inside DA Panel.

Finally, what I need now, is a way to set up mailscanner and clamav
 
spam assassin stopped working after exiscan installation

I installed exiscan after having SA 3.0 working with the DA panel.

However, now, although exiscan works detecting virus (with clamav), spamd is not longer detected by DA, and I can´t see any traces of SA in email headers... what should I do now?
 
Back
Top