Daniel said, "spamd is not running, you've installed it wrong, or
something else"

I installed it with apt-get (using synaptic in Fedora Core 2), though
it's possible that the install is bad. I get the same results on a
separate FC1 box as well, though.

Daniel said, "'more' is definitively the wrong way to run this as it
adds paging lines, etc.  It's also not needed. Just run: "spamc <
message"

I get the same results.

To test my install, I first made sure spamd was running, as follows:

> netstat -nlp | grep spamd
tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      
3146/spamd -d -c -a

Spamd is running and listening.  When I run spamc I get the errors (only
on spam, not ham).  When I invoke SA directly as follows:

> spamassassin -tD < <message_name>

The results are correct (ie it tests the message and gives me sane
output that matches my expectations).  So it seems SA is working.  Spamd
is running and Spamc calls Spamd, but somewhere in the mix, the results
get hosed when the message actually is spam.  Weird.

Any ideas what I could try next?  I am at a loss.

-Tom Caudron



On Sat, 2004-09-11 at 22:33, Daniel Quinlan wrote:
> Tom Caudron <[EMAIL PROTECTED]> writes:
> 
> > I've installed SpamAssassin version 2.64 via Synaptic on Fedora Core 2. 
> > I want to use it to filter spam in Evolution.  In Evolution, I created a
> > filter that pipes the message to a shell command on retrieval (pipes to
> > "spamc -c").
> > 
> > I get no hits at all.  :-(  Much of my mail is /clearly/ spam.
> 
> Two primary possibilities:
> 
>   - spamd is not running, you've installed it wrong, or something else
>   - your mail was already filtered in some way
> 
> The former seems more likely given what you've said.
>  
> > At the command prompt, when I pipe each message to spamc -c as follows:
> > 
> > more <msg_name> | spamc -c
> 
> "more" is definitively the wrong way to run this as it adds paging
> lines, etc.  It's also not needed.
> 
> Just run: "spamc < message"
> 
> I suggest checking the wiki at http://wiki.apache.org/spamassassin/
> which goes into detail on testing an install and so on.
> 
> Daniel

Reply via email to