# IDENTIFY-HEADER-DOMAINS.RC # # Function to check a domain against a list of known spam header # domains. LOCALTAG=no INCLUDERC=${SBDIR}/functions/check-received-domains.rc :0 * SBCONFIG ?? (Analyze|Debug) { INCLUDERC=${SBDIR}/functions/check-header-domains.rc } :0 E * LOCALTAG ?? no { INCLUDERC=${SBDIR}/functions/check-header-domains.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 { LT2=yes SBLOG="B2R-${TESTNAME}" INCLUDERC=${SBDIR}/functions/loglevel.rc :0 * $ ${SBSCORE}^0 * $ ${TESTSCORE}^0 { SBSCORE=$= } }