I'm trying to setup
spamassassin 2.31, from the command line spamassassin works fine (run it in test
mode with debug output) and detects spam and gives it a score. I've setup
spamd to work with iPlanet Messaging Server, but spamd doesn't seem to detect
anything, the output doesn't lead me to believe there is any errors, but there
is obviously something. Here is my debug output from the messaging
server:
07:55:33.99:
Creating socket to connect to SpamAssassin
07:55:33.99: Binding SpamAssassin socket
07:55:33.99: Connecting to SpamAssassin
07:55:33.99: Sending SpamAssassin announcement
07:55:33.99: Sending SpamAssassin the message
07:55:33.99: Performing SpamAssassin half close
07:55:33.99: Reading SpamAssassin status
07:55:34.06: Status line: SPAMD/1.1 0 EX_OK
07:55:34.06: Reading SpamAssassin result
07:55:34.06: Result line: Spam: False ; 0.0 / 5.0
07:55:34.06: Reading SpamAssassin symbols
07:55:34.06: Symbols line:
07:55:34.06: Verdict line: Spam-Test: False ; 0.0 / 5.0
07:55:34.06: Closing connection to SpamAssassin
07:55:34.08: Freeing SpamAssassin message context
07:55:34.08: Sending : "250 2.5.0 Ok."
07:55:40.58: Received : "QUIT"
07:55:40.58: Sending : "221 2.3.0 Bye received. Goodbye."
07:55:40.58: Shutting down SASL server context
07:55:40.58: smtpc_enqueue returning a status of 9
07:55:40.58: pmt_close: [7] status 0
07:55:33.99: Binding SpamAssassin socket
07:55:33.99: Connecting to SpamAssassin
07:55:33.99: Sending SpamAssassin announcement
07:55:33.99: Sending SpamAssassin the message
07:55:33.99: Performing SpamAssassin half close
07:55:33.99: Reading SpamAssassin status
07:55:34.06: Status line: SPAMD/1.1 0 EX_OK
07:55:34.06: Reading SpamAssassin result
07:55:34.06: Result line: Spam: False ; 0.0 / 5.0
07:55:34.06: Reading SpamAssassin symbols
07:55:34.06: Symbols line:
07:55:34.06: Verdict line: Spam-Test: False ; 0.0 / 5.0
07:55:34.06: Closing connection to SpamAssassin
07:55:34.08: Freeing SpamAssassin message context
07:55:34.08: Sending : "250 2.5.0 Ok."
07:55:40.58: Received : "QUIT"
07:55:40.58: Sending : "221 2.3.0 Bye received. Goodbye."
07:55:40.58: Shutting down SASL server context
07:55:40.58: smtpc_enqueue returning a status of 9
07:55:40.58: pmt_close: [7] status 0
So everything comes
back with no score, even the sample-spam.txt returns no score. So (i
could be missing something very small) why is it SpamAssassin from the command
line works, but spamd does not? The following is a clip from
the output of running SpamAssassin -t < filename. This is the same
message that goes through above with a score of 0.0.
X-Spam-Status: Yes,
hits=30.1 required=5.0
tests=UNDISC_RECIPS,FROM_HAS_MIXED_NUMS,MSGID_HAS_NO_AT,
SMTPD_IN_RCVD,INVALID_MSGID,ALL_CAPS_HEADER,NO_REAL_NAME,
INVALID_DATE,HOME_EMPLOYMENT,DOUBLE_CAPSWORD,
ONCE_IN_LIFETIME,CALL_FREE,REMOVE_SUBJ,LINES_OF_YELLING,
FREQ_SPAM_PHRASE,DATE_IN_PAST_24_48
version=2.31
X-Spam-Flag: YES
X-Spam-Level: ******************************
X-Spam-Checker-Version: SpamAssassin 2.31 (devel $Id: SpamAssassin.pm,v 1.94.2.2 2002/06/20 17:20:29 hughescr Exp $)
tests=UNDISC_RECIPS,FROM_HAS_MIXED_NUMS,MSGID_HAS_NO_AT,
SMTPD_IN_RCVD,INVALID_MSGID,ALL_CAPS_HEADER,NO_REAL_NAME,
INVALID_DATE,HOME_EMPLOYMENT,DOUBLE_CAPSWORD,
ONCE_IN_LIFETIME,CALL_FREE,REMOVE_SUBJ,LINES_OF_YELLING,
FREQ_SPAM_PHRASE,DATE_IN_PAST_24_48
version=2.31
X-Spam-Flag: YES
X-Spam-Level: ******************************
X-Spam-Checker-Version: SpamAssassin 2.31 (devel $Id: SpamAssassin.pm,v 1.94.2.2 2002/06/20 17:20:29 hughescr Exp $)
thanks,