# FINAL-TAGGING.RC # # Tags email with the proper X-SBCLASS: headers, and # if OUTLOOKTAGGING=yes, embeds the appropriate tags # in the Subject: header. # # Last updated: 11/11/2005 # Deliver Viruses # :0 * VIRUSTAG ?? yes { :0 * OUTLOOKTAGGING ?? yes { :0 { LOCALBUFFER=`${FORMAIL} -xSubject:` } SBLOGFLAGS="ALWAYS 1 CLASS" SBLOG="Virus" #SBLOG="A1C-Virus" INCLUDERC=${SBDIR}/functions/loglevel.rc SBLOGFLAGS="LOG 1" SBLOG="Subject: X-SBClass: Virus (${LOCALBUFFER})" #SBLOG="L1-Subject: X-SBClass: Virus (${LOCALBUFFER})" INCLUDERC=${SBDIR}/functions/loglevel.rc :0 f | ${FORMAIL} -I"Subject: X-SBClass: Virus (${LOCALBUFFER})" } :0 E { SBLOGFLAGS="ALWAYS 1 CLASS" SBLOG="Virus" #SBLOG="A1C-Virus" INCLUDERC=${SBDIR}/functions/loglevel.rc } } :0 * SPAMTAG ?? yes * ! VIRUSTAG ?? yes { :0 * OUTLOOKTAGGING ?? yes { :0 { LOCALBUFFER=`${FORMAIL} -xSubject:` } SBLOGFLAGS="ALWAYS 1 CLASS" SBLOG="Spam" #SBLOG="A1C-Spam" INCLUDERC=${SBDIR}/functions/loglevel.rc SBLOGFLAGS="LOG 1" SBLOG="Subject: X-SBClass: Spam (${LOCALBUFFER})" #SBLOG="L1-Subject: X-SBClass: Spam (${LOCALBUFFER})" INCLUDERC=${SBDIR}/functions/loglevel.rc :0 f | ${FORMAIL} -I"Subject: X-SBClass: Spam (${LOCALBUFFER})" } :0 E { SBLOGFLAGS="ALWAYS 1 CLASS" SBLOG="Spam" #SBLOG="A1C-Spam" INCLUDERC=${SBDIR}/functions/loglevel.rc } } :0 * BLOCKTAG ?? yes * ! VIRUSTAG ?? yes * ! SPAMTAG ?? yes { :0 * OUTLOOKTAGGING ?? yes { :0 { LOCALBUFFER=`${FORMAIL} -xSubject:` } SBLOGFLAGS="ALWAYS 1 CLASS" SBLOG="Blocked" #SBLOG="A1C-Blocked" INCLUDERC=${SBDIR}/functions/loglevel.rc SBLOGFLAGS="LOG 1" SBLOG="Subject: X-SBClass: Blocked (${LOCALBUFFER})" #SBLOG="L1-Subject: X-SBClass: Blocked (${LOCALBUFFER})" INCLUDERC=${SBDIR}/functions/loglevel.rc :0 f | ${FORMAIL} -I"Subject: X-SBClass: Blocked (${LOCALBUFFER})" } :0 E { SBLOGFLAGS="ALWAYS 1 CLASS" SBLOG="Blocked" #SBLOG="A1C-Blocked" INCLUDERC=${SBDIR}/functions/loglevel.rc } } :0 * ADMINTAG ?? yes * ! VIRUSTAG ?? yes * ! SPAMTAG ?? yes * ! BLOCKTAG ?? yes { SBLOGFLAGS="ALWAYS 1 CLASS" SBLOG="Admin" #SBLOG="A1C-Admin" INCLUDERC=${SBDIR}/functions/loglevel.rc } :0 * BULKTAG ?? yes * ! ADMINTAG ?? yes * ! VIRUSTAG ?? yes * ! SPAMTAG ?? yes * ! BLOCKTAG ?? yes { SBLOGFLAGS="ALWAYS 1 CLASS" SBLOG="Bulk" #SBLOG="A1C-Bulk" INCLUDERC=${SBDIR}/functions/loglevel.rc } :0 * ! BULKTAG ?? yes * ! ADMINTAG ?? yes * ! VIRUSTAG ?? yes * ! SPAMTAG ?? yes * ! BLOCKTAG ?? yes { SBLOGFLAGS="ALWAYS 1 CLASS" SBLOG="OK" #SBLOG="A1C-OK" INCLUDERC=${SBDIR}/functions/loglevel.rc }