############################################################################ # MDaemon config file for SpamAssassin # # Note: to change the score values for these rules put new values into # local.cf. Changes made to this file get overwritten when you update # to a new version of MDaemon # ############################################################################ ############################################################################ # # Note for Arvel: These headers must be inlcuded in InboundSMTPWnd's # "HeadersToRemove" or they may trigger errant SMTP based scoring results # ############################################################################ ############################################################################ # MDaemon's DomainKeys system (these scores are in MDaemon.rh too) ############################################################################ header MDAEMON_DKIM_PASS X-MDDKIM-Result =~ /\bpass/i describe MDAEMON_DKIM_PASS MDaemon: passed DKIM verification score MDAEMON_DKIM_PASS -0.5 ############################################################################ # MDaemon's DNSBL system ############################################################################ header MDAEMON_DNSBL exists:X-MDDNSBL-Result describe MDAEMON_DNSBL MDaemon: marked by MDaemon's DNSBL score MDAEMON_DNSBL 3.0 ############################################################################ # MDaemon's SPF system (these scores are in MDaemon.rh too) ############################################################################ header MDAEMON_SPF_PASS X-MDSPF-Result =~ /\bpass/i describe MDAEMON_SPF_PASS MDaemon: passed SPF verification score MDAEMON_SPF_PASS -0.5 header MDAEMON_SPF_FAIL X-MDSPF-Result =~ /\bfail/i describe MDAEMON_SPF_FAIL MDaemon: failed SPF verification score MDAEMON_SPF_FAIL 15.0 header MDAEMON_SPF_SOFTFAIL X-MDSPF-Result =~ /\bsoftfail/i describe MDAEMON_SPF_SOFTFAIL MDaemon: soft-failed SPF verification score MDAEMON_SPF_SOFTFAIL 2.5 header MDAEMON_SPF_NEUTRAL X-MDSPF-Result =~ /\bneutral/i describe MDAEMON_SPF_NEUTRAL MDaemon: neutral SPF verification score MDAEMON_SPF_NEUTRAL 0.0 ############################################################################ # MDaemon Outbreak Protection ############################################################################ # Note: Messages suspected as spam aren't spam at all and shouldn't be # punished. Most of the time they are completely harmless. header MDAEMON_OP_SPAM_SUSPECT X-MDOP-RefID =~ /\b_st=2/i describe MDAEMON_OP_SPAM_SUSPECT MDaemon: suspected spam/phish score MDAEMON_OP_SPAM_SUSPECT 0.0 header MDAEMON_OP_SPAM_HIGH X-MDOP-RefID =~ /\b_st=[3-4]/i describe MDAEMON_OP_SPAM_HIGH MDaemon: spam/phish score MDAEMON_OP_SPAM_HIGH 2.5 header MDAEMON_OP_IWF X-MDOP-RefID =~ /\b_iwf=1/i describe MDAEMON_OP_IWF MDaemon: IWF content detected score MDAEMON_OP_IWF 2.5 ############################################################################ # MDaemon Message Certification ############################################################################ header MDAEMON_VBR_CERT X-MDVBR-Result =~ /\bmessage certified/i describe MDAEMON_VBR_CERT MDaemon: message certified score MDAEMON_VBR_CERT -3.0 ############################################################################ # Miscellaneous ############################################################################ describe USER_IN_BLOCKLIST From: address is in the BLOCKLIST describe USER_IN_WELCOMELIST From: address is in the WELCOMELIST describe USER_IN_BLOCKLIST_TO address is listed in 'BLOCKLIST_to' describe USER_IN_WELCOMELIST_TO address is listed in 'WELCOMELIST_to' describe USER_IN_MORE_SPAM_TO address is listed in 'more_spam_to' describe USER_IN_ALL_SPAM_TO address is listed in 'all_spam_to' ############################################################################ # White/Black list scores ############################################################################ score USER_IN_WELCOMELIST -100.0 score USER_IN_WELCOMELIST_TO -100.0 score USER_IN_BLOCKLIST 100.0 ############################################################################ # SURBL scores ############################################################################ #score URIBL_SBL 4.0 #score URIBL_SC_SURBL 8.0 #score URIBL_WS_SURBL 9.0 #score URIBL_OB_SURBL 9.5 #score URIBL_PH_SURBL 8.0 #score URIBL_AB_SURBL 8.0 #score URIBL_JP_SURBL 8.0 ############################################################################ # Bayesian scores ############################################################################ score BAYES_00 -4.7 score BAYES_05 -2.4 score BAYES_20 0.1 score BAYES_40 1.0 score BAYES_50 1.65 score BAYES_60 2.6 score BAYES_80 6.0 score BAYES_95 8.0 score BAYES_99 10.0 ############################################################################ # Configure bayesian to ignore these headers ############################################################################ bayes_ignore_header X-Spam-Status bayes_ignore_header X-Spam-Level bayes_ignore_header X-Spam-Checker-Version bayes_ignore_header X-Spam-Report bayes_ignore_header X-Spam-Processed bayes_ignore_header X-MDRcpt-To bayes_ignore_header X-MDRemoteIP bayes_ignore_header X-MDAV-Processed bayes_ignore_header X-MDMultiPOP bayes_ignore_header X-MDaemon-Deliver-To bayes_ignore_header X-Rcpt-To bayes_ignore_header X-MDOP-RefID bayes_ignore_header X-MDAntiPhishing-Result ############################################################################ # These rules disabled because they are exploitable or cause other problems ############################################################################ score GTUBE 0 score ALL_TRUSTED 0 score URIBL_RHS_DOB 0 ############################################################################ # MDaemon's AntiPhishing system ############################################################################ header MDAEMON_AP X-MDAntiPhishing-Result =~ /\b(fail)/i describe MDAEMON_AP MDaemon: failed anti-phishing filter score MDAEMON_AP 2.0