I installed SA (v 2.43, Linux, i386) but spamc is not playing nice with
spamd.

I can redirect a message to spamassassin and get a successful parse (with
all the usual SA diagnostics inserted.

[root@gromit bin]# spamassassin < /tmp/outfile
Number of lines: 9
Relative Line Numbers (in percent): 12.697333199579 29.519721770149
40.8800726258374 63.8060390653807 74.5889492315516 93.5640391425596
****deleted cruft ******
X-Spam-Status: No, hits=3.3 required=5.0
        tests=RCVD_IN_RFCI,SPAM_PHRASE_00_01,USER_AGENT_OE
        version=2.43
X-Spam-Level: ***

Then I tried cat /tmp/outfile | /usr/bin/spamc -d 127.0.0.1 -f

I found this in /var/log/maillog:

Nov 22 11:38:51 gromit spamd[24572]: connection from localhost.localdomain
[127.0.0.1] at port 51864
Nov 22 11:38:51 gromit spamd[24581]: Still running as root: user not
specified, not found, or set to root.  Fall back to nobody.
Nov 22 11:38:51 gromit spamd[24581]: processing message
<01a801c29240$02e77280$[EMAIL PROTECTED]> for root:99, expecting 869
bytes.
Nov 22 11:38:51 gromit spamc[24580]: spamd responded with bad string 'Number
of lines: 9'
Nov 22 11:38:53 gromit spamd[24581]: clean message (3.3/5.0) for root:99 in
2.2 seconds, 869 bytes.

Now the fun part. If I start spamd with -d -x -a -D switches the message
parses fine!

Here a check-only of the same message run through spamd with debugging on:

[root@gromit bin]# cat /tmp/outfile | /usr/bin/spamc -d 127.0.0.1 -c
3.3/5.0

Ideas?

--
 John McCauley - CTGi    703-352-0590

The CTGi Web page:  http://www.ctgusa.com
The BMD web page:   http://www.bmdc.org



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to