HOME LINKS SAL PUBLIC SOFTWARE SEARCH MADE UP

SAGATOR


dspam()
  This realscanner uses dspam library.
  
  For detailed description see DSPAM documentation.
  
  Usage: dspam(home='/var/dspam', user=None, group=None,
               classify=None, source=None,
               train=None, flags=pydspam.DSF_SIGNATURE)
  
  Where: home is dspam home dir ('/var/dspam')
         user is dspam user (user running sagator's process)
         group is dspam group (group running sagator's process)
         classify is how to classify this message
           Available options: DSR_ISSPAM, DSR_ISINNOCENT
           Default: Don't classify.
         source is message source:
           Available options: DSS_ERROR, DSS_CORPUS, DSS_INOCULATION
           Default: No source defined.
         train is training mode
           Available options: DST_TEFT, DST_TOE, DST_TUM, DST_NOTRAIN
           Default: DST_TEFT
         flags are dspam flags
           Available options: DSF_SIGNATURE, DSF_BIAS, DSF_NOISE,
                              DSF_WHITELIST, DSF_MERGED
           Default: DSF_SIGNATURE
  
  Examples:
    basic usage:
      dspam()
    training emails badly assigned as spams:
      drop('',dspam(classify=DSR_ISSPAM,source=DSS_ERROR,train=DST_TOE))
    training emails badly assinged as inoocent:
      drop('',dspam(classify=DSR_ISINNOCENT,source=DSS_ERROR,train=DST_TOE))