Having problems with Spamassassin - can you help?

hostpc.com

Verified User
Joined
Aug 2, 2003
Messages
1,178
Location
Schenectady, NY
I ran the spam assassin setup scripts, no errors.

Scenario:
RH9
export LANG=C
./spam.sh

the perl HTML::file is installed.

Problem: Users are reporting mail is NOT being stopped/caught by Spamassassin.

I've looked at some of the headers, and they're correct - there is no indication of SA running.


Resolution? / Questions
There is no spamd daemon, should there be?
Is there a specific way to test spam assassin?
Any suggestions?

Thanks guys, as always, I appreciate your help.

Joe
 
Hello,

Did you uncomment the spamassasin part of the /etc/exim.conf file and restart exim?

John
 
# Spam Assassin
spamcheck_director:
driver = accept
condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq {$received_protocol}{local}} } {1}{0}}"
retry_use_local_part
transport = spamcheck
no_verify


Yep... (sorry, forgot to mention that step before)
 
In this mornings logs, there's :

Nov 11 06:38:20 www9 spamc[13215]: connect() to spamd at 127.0.0.1 failed, retrying (1/3): Connection refused
Nov 11 06:38:21 www9 spamc[13222]: connect() to spamd at 127.0.0.1 failed, retrying (1/3): Connection refused
Nov 11 06:38:21 www9 spamc[13215]: connect() to spamd at 127.0.0.1 failed, retrying (2/3): Connection refused
Nov 11 06:38:22 www9 spamc[13222]: connect() to spamd at 127.0.0.1 failed, retrying (2/3): Connection refused
Nov 11 06:38:22 www9 spamc[13215]: connect() to spamd at 127.0.0.1 failed, retrying (3/3): Connection refused
Nov 11 06:38:23 www9 spamc[13222]: connect() to spamd at 127.0.0.1 failed, retrying (3/3): Connection refused

a million or so times....
 
Errors with Spamassassin

I'm getting the same problem:
ov 12 00:05:56 web spamc[15826]: connection attempt to spamd aborted after 3 retries
Nov 12 00:06:01 web spamc[15840]: connect() to spamd at 127.0.0.1 failed, retrying (1/3): Connection refused
Nov 12 00:06:02 web spamc[15840]: connect() to spamd at 127.0.0.1 failed, retrying (2/3): Connection refused
Nov 12 00:06:03 web spamc[15840]: connect() to spamd at 127.0.0.1 failed, retrying (3/3): Connection refused

Was there a solution to this problem ?

-James
 
Whoops... spamd wasn't running

Just realized spamd wasn't running....
I did a /usr/bin/spamd -d and it solved the problem...

Thanks,

-James
 
Back
Top