Karsten Bräckelmann-2 wrote:
> 
> Check your logs.
> 
> spamd likely logged the failure. And btw, spamc also logs in some cases,
> like refused connection attempts to spamd. You will find your previous
> attempts without spamd running being logged.

For my email message "spamc -c < /root/mailmessage.txt", am getting a spam
score of 2.5/5.0 and spamc is printing the following statements in the log:

1) Jul 16 00:34:52 myserver spamd[9957]: spamd: connection from myserver
[127.0.0.1] at port 53626
2) Jul 16 00:34:52 myserver spamd[9957]: spamd: setuid to root succeeded
3) Jul 16 00:34:52 myserver spamd[9957]: spamd: still running as root: user
not specified with -u, not found, or set to root, falling back to nobody
4) Jul 16 00:34:52 myserver spamd[9957]: spamd: checking message
<23671010.1276784893828.javamail.ad...@user01> for root:99
5) Jul 16 00:35:00 myserver spamd[9957]: auto-whitelist: open of
auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile
/.spamassassin/auto-whitelist.lock.myserver.9957 for
/.spamassassin/auto-whitelist.lock: No such file or directory
6) Jul 16 00:35:00 myserver spamd[9957]: spamd: clean message (2.5/5.0) for
root:99 in 7.7 seconds, 1303511 bytes.
7) Jul 16 00:35:00 myserver spamd[9957]: spamd: result: . 2 -
HTML_FONT_SIZE_LARGE,HTML_MESSAGE,MIME_HTML_ONLY,MISSING_DATE,NO_RECEIVED,NO_RELAYS
scantime=7.7,size=1303511,user=root,uid=99,required_score=5.0,rhost=myserver,raddr=127.0.0.1,rport=53626,mid=<23671010.1276784893828.javamail.ad...@user01>,autolearn=no
8) Jul 16 00:35:00 myserver spamd[9952]: prefork: child states: II

What does ". 2" mean in the 7th line above?

For the command "echo | spamc -x; echo $?", it is showing "Y 6" in the same
7th line of spamd result?

Does this represent/mean anything?
-- 
View this message in context: 
http://old.nabble.com/spamc-client-always-returning-0-0-tp29173280p29181819.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

Reply via email to