I have
spamd running as a specific user "mailsrv" using the -u command line
parameter. I the user_prefs file has been created in the users home
directory, using the template. I haven't set anything in it, so I assume
it should use the system wide defaults just as spamassassin does as well (when I
run this myself, the user that is executing it doesn't have any special
user_prefs either) so this does work. But again, for some reason, all
scores reported by spamd are 0.0 while spamassasin works
fine.
thnx,
Kevin.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Arandjelovic
Sent: Monday, June 02, 2003 8:06 AM
To: Kevin McKillop; [EMAIL PROTECTED]
Subject: RE: [SAtalk] Spamd & spamassassin - one works one doesn't
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Arandjelovic
Sent: Monday, June 02, 2003 8:06 AM
To: Kevin McKillop; [EMAIL PROTECTED]
Subject: RE: [SAtalk] Spamd & spamassassin - one works one doesn't
Hi Kevin,I think the problem might be with user accounts and their local settings. When you manually run spamassassin for example as a user "kevin" it reads different settings (from /home/kevin/.spamassassin), but when you run spamd it probably reads "root" settings or something else, try setting global settings for spamassassin (disable user settings, there are some switches, read manual...)Hope this helps,Ivan-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Kevin McKillop
Sent: Monday, June 02, 2003 3:48 PM
To: [EMAIL PROTECTED]
Subject: [SAtalk] Spamd & spamassassin - one works one doesn'tI'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 0So 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 $)thanks,