PDA

View Full Version : SpamAssassin in DA 1.22.5 - bug?



ClayRabbit
09-23-2004, 06:22 AM
We have upgraded to DA 1.22.5.
Now we have SpamAssassin link in Email section of User Panel.
But if we try to open this page - we receiving error message:

Unable to setup spamassassin

Details

Spamd is not running on your system.
Click Here to learn how to enable it
but

$ ps auxw | grep spamd
root 12925 0.0 1.8 18952 18120 ?? Is 4:21PM 0:01.04 /usr/bin/spamd -d -a -c -m 5 (perl)

It's on FreeBSD 4.10 server.
Any suggestions?

interfasys
09-23-2004, 06:48 AM
I got the same problem, but with a different path, so I thought it was a path issue...apparently not.
I'm also on freeBSD so there is at least a common denominator.

hostpc.com
09-23-2004, 07:12 AM
I dont know Jack about BSD systems, but maybe it's missing dependencies?

Here's a script I used to fix ours, maybe it can be modified to fix yours? This was written for RH9/fedora




cd /usr/local/directadmin/scripts
./spam.sh
wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.35.tar.gz
tar xvzf HTML-Parser-3.35.tar.gz
cd HTML-Parser-3.35
perl Makefile.PL
make
make install
/usr/bin/spamd -d -a -c -m 5
/sbin/service exim restart

interfasys
09-23-2004, 07:18 AM
If that's really the case, then DA needs to output a more precise error message.

ClayRabbit
09-23-2004, 07:29 AM
I don't think so. I beleive if spamd is missing some dependencies then daemon wouldn't start and error message will be given.

BTW, we have HTML-Parser-3.36 installed.

existenz
09-23-2004, 10:13 AM
spamd is working on my system BUT the spamassassin frontend does not work:



root 43120 0.0 8.4 21620 20632 ?? Is 1:08PM 0:00.62 /usr/local/bin/spamd -d (perl5.8.2)

ClayRabbit
09-23-2004, 11:31 AM
But it works without problems on our RH 9.0 server

hostpc.com
09-23-2004, 11:41 AM
Weird, I've got it tagged to modify the headers, but none of what is coming through is modified, and is definately spam.

Still working on it myself.

interfasys
09-23-2004, 12:33 PM
I got an official answer and by seeing Clayrabbit and existenz's output, I think we all got the same problem.


(...).The process is returning "perl" as the program instead of "spamd", hence da assumes it's not running.(...)

RosT
09-24-2004, 12:55 AM
And what to do to fix this problem?

fusionictnl
09-24-2004, 01:46 AM
Why not make a config line in the da conf with something like:

spamassassin=2

2=spamassassin auto detect
1=spamassassin enabled
0=spamassassin disabled

I use MailScanner and cannot use the DA interface, only if I start the spamd deamon. :s

interfasys
09-24-2004, 07:57 AM
http://www.directadmin.com/features.php?id=429

RosT
09-24-2004, 08:02 AM
Originally posted by interfasys
http://www.directadmin.com/features.php?id=429

How to create this executable?
Or what to do?

ClayRabbit
09-24-2004, 10:26 AM
Originally posted by RosT
Or what to do?Just wait for Version 1.226...

interfasys
09-24-2004, 02:17 PM
Which has just been released ;)

(It's fixed btw)

blacknight
09-25-2004, 05:45 PM
Is there anyway to disable the spamassassin addon completely?

fusionictnl's idea would be ideal