# THE SPAMBOUNCER # # Version 2.2 # Last Updated 04/16/06 # # Copyright (C) 1996-2005 by Catherine A. Hampton. If # you abide by the Free Software Foundation's COPYING # principles with this document and software, you're home free, # but don't try to copyright it yourself or sell this # information. # # Installation instructions can be retrieved at: # # http://www.spambouncer.org/ # ########################################################################## # SET INITIAL INTERNAL VARIABLES # # This variable is used several places by the SpamBouncer logging # feature. It is defined here so that it's easy to find and update # once, in one place. SBVERSION="2.2 (04/16/06)" # BRAND THE EMAIL WITH THE SPAMBOUNCER HEADER VERSION :0 f | ${FORMAIL} -A"X-SpamBouncer: ${SBVERSION}" # Check for Oversized email, and don't try to filter anything above # 1 MB in size. # :0 f * > 1024000 | ${FORMAIL} -A"X-SBPass: Oversized Email" # Start of :0 E wrapper if email is not oversized. :0 E { # CHECK FOR PROPER SETTING OF VARIABLES # # This script checks to see if the necessary variables are set, and if # they are not, sets them to harmless defaults which will minimize the effects # of the SpamBouncer program. If you don't set your variables, the # SpamBouncer won't do much. :/ LOCALTAG=no :0 * DEFAULT ?? ^^^^ { LOCALTAG=yes } :0 * FORMAIL ?? ^^^^ { LOCALTAG=yes } :0 * SBDIR ?? ^^^^ { LOCALTAG=yes } :0 * LOCALTAG ?? yes | ${FORMAIL} -A"X-SBRule: Pass-Bad Config" # Start of "else" wrapper if critical variables set :0 E { INCLUDERC=${SBDIR}/sb2.rc } # End of :0 E wrapper around Critical Variables check } # End of :0 E wrapper around email that is not oversized.