Mailfromd Manual (split by node):   Section:   Chapter:FastBack: Library   Up: DSPAM   FastForward: Using MFL Mode   Contents: Table of ContentsIndex: Concept Index

5.29.2.2 DSPAM Class and Source Bits

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.

ModeAs return valueAs argument
DSR_NONEN/AClassify message
DSR_ISSPAMMessage is spamLearn as spam
DSR_ISINNOCENTMessage is innocentLearn as innocent

Table 5.6: DSPAM Classification

SourceMeaning
DSS_NONENo classification source (use only with DSR_NONE)
DSS_ERRORMisclassification by libdspam
DSS_CORPUSMessage came from a corpus feed
DSS_INOCULATIONMessage inoculation

Table 5.7: DSPAM Source