Mailfromd |
|
General-Purpose Mail Filter |
Sergey Poznyakoff |
The tables below summarize flags which can be used in the
class_source argument to dspam
function. The argument is a
bitwise OR of classification and source bits. At
most one classification and one source bit can be given. If not
supplied, ‘DSR_NONE|DSS_NONE’ is used.
The classification flags are also used as the return code, as shown in the following table.
Mode | As return value | As argument |
---|---|---|
DSR_NONE | N/A | Classify message |
DSR_ISSPAM | Message is spam | Learn as spam |
DSR_ISINNOCENT | Message is innocent | Learn as innocent |
Source | Meaning |
---|---|
DSS_NONE | No classification source (use only with DSR_NONE) |
DSS_ERROR | Misclassification by libdspam |
DSS_CORPUS | Message came from a corpus feed |
DSS_INOCULATION | Message inoculation |
This document was generated on August 13, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.