########################################################## # Defense in Depth - Anti-SPAM for sendmail environments # # by David Bank --> http://dave.trianglenug.org # ########################################################## ###################################################################### # /path/to/mimedefang/conf/sa-mimedefang.cf # # SpamAssassin configuration file for invocation by MIMEDefang # # Change Log: # Who When What # ---- ---------- ----------------------------- # ###################################################################### # Sample Formats: # # required_hits n # (how many hits are required to tag a mail as spam.) # # score SYMBOLIC_TEST_NAME n # (if this is omitted, 1 is used as a default score. # Set the score to 0 to ignore the test.) # # # starts a comment, whitespace is not significant. # # NOTE! In conjunction with MIMEDefang, SpamAssassin can *NOT* make any # changes to the message header or body. Any SpamAssassin settings that # relate to changing the message will have *NO EFFECT* when used from # MIMEDefang. Instead, use the various MIMEDefang Perl functions if you # need to alter the message. ########################################################################### ########################################################################### # Spam score threshold (below this and SpamAssassin will not report that # the E-Mail is SPAM; however, a report will still be returned) required_hits 10 # Whitelist and blacklist addresses are *not* patterns; they're just normal # strings. one exception is that "*@isp.com" is allowed. They should be in # lower-case. You can either add multiple addresses on one line, # whitespace-separated, or you can use multiple lines. # #EXAMPLE: whitelist_from monty@roscom.com # Add your blacklist entries in the same format... #EXAMPLE: blacklist_from friend@public.com blacklist_from *@optonline.com # Mail using languages used in these country codes will not be marked # as being possibly spam in a foreign language. ok_locales en # By default, the subject lines of suspected spam will be tagged. # This can be disabled here, and should be when SA is invoked via MD rewrite_subject 0 # By default, spamassassin will include its report in the body # of suspected spam. Enabling this causes the report to go in the # headers instead. Using 'use_terse_report' for this is recommended. report_header 1 # By default, SpamAssassin uses a fairly long report format. # Enabling this uses a shorter format that includes information # without lengthy explanations use_terse_report 0 # By default, spamassassin will change the Content-type: header of # suspected spam to "text/plain". Since changes made by SA do not # propagate back through MD, set this to 0. defang_mime 0 # By default, SpamAssassin will run RBL checks. If you implement # RBL checks in MD, set this to 1. skip_rbl_checks 1 # Disable Distributed Checksum use_dcc 0 # Disable Pryzor use_pyzor 0 # Disable Razor2 use_razor2 0 # Define internal hosts as trusted trusted_networks 127.0.0.1 # Disable DNS support dns_available no # Auto-whitelisting database #auto_whitelist_path /path/to/sa/db # Bayesian database settings #bayes_path /path/to/sa/db #lock_method flock ########################################################################### # Add your own customised scores for some tests below. The default scores are # read from the installed "spamassassin.cf" file, but you can override them # here. To see the list of tests and their default scores, go to # http://spamassassin.taint.org/tests.html . ########################################################################### ############################# ## End of sa-mimedefang.cf ## #############################