Page 1 of 1

SpamAssassin running, but not scanning email

Posted: Thu Apr 12, 2007 2:05 pm
by bennybobw
I'm running Plesk 8.1 on Centos 4.4.
I just uninstalled psa-spamassassin and spamassassin, and installed ART's version, along with razor, dcc, and pyzor. Spamassassin is running, but it's not scanning emails.

My local.cf says this:

Code: Select all

required_hits 5
report_safe 0
rewrite_header Subject [SPAM]
I'm getting an error in my mail log:

Code: Select all

Apr 12 10:53:25 as spamd[11751]: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
Apr 12 10:53:25 as spamd[11751]: spamd: server started on port 783/tcp (running version 3.1.8)
Apr 12 10:53:25 as spamd[11751]: spamd: server pid: 11751
Apr 12 10:53:25 as spamd[11751]: spamd: server successfully spawned child process, pid 11756
Apr 12 10:53:25 as spamd[11751]: spamd: server successfully spawned child process, pid 11757
Apr 12 10:53:25 as spamd[11751]: prefork: child states: II
ps ax | grep spamd gives me:

Code: Select all

11751 ?        Ss     0:00 /usr/bin/spamd -d -c -m5 -H -r /var/run/spamd.pid
11756 ?        S      0:00 spamd child
11757 ?        S      0:00 spamd child
17848 pts/2    S+     0:00 grep spamd
I saw this post, but haven't updated or used rules_du_jour.

I restarted SpamAssassin several times as well as the qmail.

I sent a GTUBE test and it got through without being tagged as spam. Is there something else I need to do to get SpamAssassin running? Thanks for your help.

Posted: Thu Apr 12, 2007 3:02 pm
by bennybobw
I just checked and clamd is not scanning either, although it is installed.

I uninstalled it (yum erase clamd clamav) and reinstalled.

Clamd is running, but nothing's showing up in my mail log. Yesterday it was up and running (before I uninstalled psa-spamassassin).

I think I must have crapped something up.

Posted: Fri Apr 13, 2007 7:20 am
by Galactic Zero
have you run qmail-scanner-reconfigure?

Posted: Fri Apr 13, 2007 12:47 pm
by bennybobw
I'm getting this error in my maillog
Apr 13 09:38:50 as X-Qmail-Scanner-2.01st: [as.alarm-inc.com11764823307635195] clamdscan: corrupt or unknown clamd scanner error or memory/resource/perms problem - exit status 512/2
I've tried changing the ownership of /var/log/clamav and /var/run/clamav to qmailq:qmail and qscand:qscand. Then I run qmail-scanner-reconfigure, but I'm still getting the same error.

I see this error is described in this post and this post but I never updated clamav and the other one thread is fighting about relaylock.

I'm running Centos 4.4 and Plesk 8.1 The only changes I've made have been to get rid of psa-spamassassin. And now I realize that before I uninstalled it, I was having the same problem. It has something to do with an error in qmail-scanner.