Mailfromd |
|
General-Purpose Mail Filter |
Sergey Poznyakoff |
Following global variables affect the behavior of the dspam
function:
Name of the DSPAM configuration file. You must set this variable
prior to calling dspam
. There is no default value.
Name of the configuration profile to be used. If empty (the default), use global configuration settings.
Name of the user on behalf of which dspam
is called. Default
is empty (no user).
Name of the user group on behalf of which dspam
is called. Default
is empty (no group).
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:
Signature of the classified message. This variable is initialized if ‘DSF_SIGNATURE’ bit is set in the mode_flags argument (see dspam classify example),
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.
Spam confidence converted to integer using the same algorithm as for
dspam_probability
. See dspam probability and confidence,
for more information and examples.
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.