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

5.27.2.3 DSPAM Global Variables

Following global variables affect the behavior of the dspam function:

Built-in variable: string dspam_config

Name of the DSPAM configuration file. You must set this variable prior to calling dspam. There is no default value.

Built-in variable: string dspam_profile

Name of the configuration profile to be used. If empty (the default), use global configuration settings.

Built-in variable: string dspam_user

Name of the user on behalf of which dspam is called. Default is empty (no user).

Built-in variable: string dspam_group

Name of the user group on behalf of which dspam is called. Default is empty (no group).

Built-in variable: number dspam_prec

Number of decimal digits to retain in the dspam_probability and dspam_confidence values. See dspam probability and confidence, for more information and examples.

Before returning, dspam stores additional information in the following variables:

Built-in variable: string dspam_signature

Signature of the classified message. This variable is initialized if ‘DSF_SIGNATURE’ bit is set in the mode_flags argument (see dspam classify example),

Built-in variable: number dspam_probability

Spam probability value converted to integer by shifting decimal point dspam_prec positions to the right and rounding the resulting number. See dspam probability and confidence, for more information and examples.

Built-in variable: number dspam_confidence

Spam confidence converted to integer using the same algorithm as for dspam_probability. See dspam probability and confidence, for more information and examples.

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