# IDENTIFY-PATTERNS.RC # # Function to analyze an email to see if it matches a particular # set of patterns. LOCALTAG=no INCLUDERC=${SBDIR}/functions/check-patterns.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-Pattern Match (${TESTNAME})" INCLUDERC=${SBDIR}/functions/loglevel.rc :0 * $ ${SBSCORE}^0 * $ ${TESTSCORE}^0 { SBSCORE=$= } }