Dear Dspam Community:

I am trying to use the Dspam (version: 3.10.2) as a spam detection engine,
but I am having some trouble.

Specifically, I want to detect specific email samples by running Dspam
directly on its own, rather than through integration with a mail server
such as Postfix. I specified Mysql as the storage driver, and used the
following commands for training and classification respectively:

> dspam --mode=teft --source=corpus --class=spam --feature=noise --user root
> < "test.eml"
> dspam --classify  --user root --stdout < "test.eml"

However, the output remains:

> X-DSPAM-Result: root; result="Innocent"; class="Innocent";
> probability=0.0023; confidence=1.00; signature=N/A

Meanwhile, I saw the following error message in the log:

> Dec 13 15:55:21 8e5bc7350f88 dspam[17599]: bailing on error -2
> Dec 13 15:55:21 8e5bc7350f88 dspam[17599]: received invalid result
> (!DSR_ISSPAM && !DSR_ISINNOCENT): -2


I wonder why this happened and how to fix it. I would be grateful if
someone could offer some help!

By the way, I actually don't really understand Dspam's user management
mechanism. From my understanding, it seems that the classification model
for different users is differentiated to meet differentiated mail
processing needs. So how can I add users to Dspam while running it
standalone? Where can I view a list of all users currently maintained by
Dspam?

Finally, is there something like a default classifier? If not, does this
mean that the Dspam that was just installed actually has no spam detection
capability, since it has not been trained on user data?

Thanks.

Echo Zhang
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to