General-Purpose Mail Filter
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_ISSPAM||Message is spam||Learn as spam|
|DSR_ISINNOCENT||Message is innocent||Learn as innocent|
|DSS_NONE||No classification source (use only with DSR_NONE)|
|DSS_ERROR||Misclassification by libdspam|
|DSS_CORPUS||Message came from a corpus feed|
This document was generated on January 3, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.