Today I test the SA again. I use spamc -U /tmp/spamd.sock < myspamtest, in the log file it said " result: . 0 - scantime=0.1,size=23009,mid=<[EMAIL PROTECTED]>,autolearn=failed"
Therefore Im pretty sure the spamd is running but just dont know why when run SA itself it works but not spamd :( On Mon, March 14, 2005 8:09 am, jdow said: > From: "David Suen" <[EMAIL PROTECTED]> > >> Hi all, I installed spam assassin (3.0.2) in my linux box and looks like >> does not work (probably due to my configuration). I tried RTFM but still >> cannot make it work. >> >> Situation: >> I use spamassassin with simscan + qmail. My problem is when I use the >> spamassassin (not spamc) + sample-spam.txt it gives me the correct >> result >> (and I tested another real spam with the 'keyword' "viagra"). However, >> when I use spamc ...it keeps saying (all the emails) score is 0.0. >> >> Header using spamc: >> X-Spam-Status: spam=No, score=0.0 required=4.2 tests= none >> autolearn=unavailable >> >> Header using spamassassin: X-Spam-Level: **** >> X-Spam-Status: spam=Yes, score=4.3 required=4.2 tests= BIZ_TLD=0.527, >> DATE_IN_PAST_06_12=0.211,DRUGS_ERECTILE=0.026,DRUG_ED_CAPS=1.535, >> EXTRA_MPART_TYPE=0.222,SUBJECT_DRUG_GAP_VIA=1.77 autolearn=no >> > > That suggests something like "spamd is not running." For systems like > RedHat and Mandrake the incantation would be "service spamassassin > restart". (That stops it if it is running then starts it.) > > Or if spamd is running a firewall setting may be blocking it, it is > not running on the local machine, or it's running on a nonstandard > port number. The latter two conditions require that the address and > port options or spamc be set to the correct values to make the TCP > connection. > > {^_^} > > Regards David Suen System Administrator IT Helpdesk & Network Support HKIRC Phone 0414 406 882 (in Australia) +61 414 406 882 (outside Australia) Email : [EMAIL PROTECTED]