# IDENTIFY-BODY.RC # # Function to analyze an email to see if it is spam from the # specified spammer. LOCALTAG=no :0 * LEANTAG ?? no { INCLUDERC=${SBDIR}/functions/check-body-cidr.rc } :0 * SBCONFIG ?? (Analyze|Debug) * LEANTAG ?? no { INCLUDERC=${SBDIR}/functions/check-body-domains.rc } :0 E * LOCALTAG ?? no * LEANTAG ?? no { INCLUDERC=${SBDIR}/functions/check-body-domains.rc } :0 * SBCONFIG ?? (Analyze|Debug) * LEANTAG ?? no { INCLUDERC=${SBDIR}/functions/check-body-domain-cidr.rc } :0 E * LOCALTAG ?? no * LEANTAG ?? no * ! SBCONFIG ?? Lite { INCLUDERC=${SBDIR}/functions/check-body-domain-cidr.rc } # If any of the tests for this spammer came up positive, # add an appropriate header to the email and adjust the SBSCORE # appropriately, and reset the internal variables to their initial # states. # :0 * LOCALTAG ?? yes { SBLOG="B2R-${TESTNAME}" INCLUDERC=${SBDIR}/functions/loglevel.rc :0 * $ ${SBSCORE}^0 * $ ${TESTSCORE}^0 { SBSCORE=$= } }