Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: edhamlin on June 07, 2005, 03:31:33 AM

Title: Weird spamassassin problem
Post by: edhamlin on June 07, 2005, 03:31:33 AM
Hi folks - I've been futzing with this for a week, and had numerous exchanges with Stephen Noble, and no joy...

I have a 6.5RC1 running dungog Antivir and Knudsen's spamfilter panel, but it's a fairly stock sme server otherwise. I had recently upgraded from 6.01, in which the spamfilter was running with no problems.

Now I am not getting any filtering. The spamfilter daily report says that RBL is intercepting messages but any spam that makes it through that wicket is delivered. There is nothing in the header indicating that any spamfiltering took place. Amavis-ng appears to be working correctly.  Spamd spawns the child processes OK, and it will restart without errors.

I've tried all the recommended approaches, including rerunning the install script and restarting the spamfilter from the panel. No luck.

Ideas?
Title: Re: Weird spamassassin problem
Post by: raem on June 07, 2005, 11:40:25 AM
edhamlin

This may help
http://forums.contribs.org/index.php?topic=27599.0
Title: Weird spamassassin problem
Post by: edhamlin on June 08, 2005, 05:15:47 AM
I tried the stuff recommended in that thread.

I also removed and reinstalled the dungog antvir, clamav, and amavis-ng rpms.

When I try

/sbin/e-smith/config show amavis-ng

I get a blank line.

This is truly weird.

Rgds
Ed
Title: Weird spamassassin problem
Post by: raem on June 08, 2005, 07:29:30 AM
edhamlin

> /sbin/e-smith/config show amavis-ng
> I get a blank line.

The configuration appears to be incorrect.
It should say something like
amavis-ng=service
MailFrom=antivirus@********.***
Notifiers=Admin
qmail-queue=/var/qmail/bin/qmail-spamc
status=enabled

Do
/sbin/e-smith/db configuration setprop amavis-ng qmail-queue /var/qmail/bin/qmail-spamc
/sbin/e-smith/signal-event email-update

and you may also need to do
/sbin/e-smith/config set amavis-ng service status enabled
/sbin/e-smith/signal-event email-update
/etc/init.d/spamassassin restart
Title: RE: Weird spamassassin problem
Post by: edhamlin on June 09, 2005, 03:00:33 AM
It still appears to be defective. Apparently there's some kind of bad mojo between amavis and spamfiter.

When I tried the first set of commands, I got the following:

Quote

# /sbin/e-smith/config show amavis-ng
amavis-ng=service
qmail-queue=/var/qmail/bin/qmail-spamc
status=enabled


But when I run the remainder of the commands, I get this:

Quote

# /sbin/e-smith/config show amavis-ng
amavis-ng=service
status=enabled


I think I should remove and reinstall some of the rpms, but not sure which. Suggestions?

Thanks
Ed