# Do not modify this file # See http://wiki.zimbra.com/wiki/SpamAssassin_Customizations # # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be # tweaked. # ########################################################################### # # rewrite_header Subject *****SPAM***** # report_safe 1 # trusted_networks 212.17.35. # lock_method flock header DSPAM_SPAM X-DSPAM-Result =~ /^Spam$/ describe DSPAM_SPAM DSPAM claims it is spam score DSPAM_SPAM 1.5 header DSPAM_HAM X-DSPAM-Result =~ /^Innocent$/ describe DSPAM_HAM DSPAM claims it is ham score DSPAM_HAM -0.5 %%uncomment VAR:zimbraMtaMyNetworks%%trusted_networks %%zimbraMtaMyNetworks%% %%uncomment VAR:zimbraMtaAntiSpamLockMethod%%lock_method %%zimbraMtaAntiSpamLockMethod%% # accept email from zimbra support and forums whitelist_auth *@zimbra.com rewrite_header Subject *SPAM* _STARS(*)_ bayes_auto_learn 1 bayes_min_spam_num 60 bayes_min_ham_num 60 %%uncomment LOCAL:antispam_mysql_enabled%%bayes_store_module Mail::SpamAssassin::BayesStore::MySQL %%uncomment LOCAL:antispam_mysql_enabled%%bayes_sql_dsn DBI:mysql:zimbra_antispam:host=@@antispam_mysql_host@@:port=@@antispam_mysql_port@@ %%uncomment LOCAL:antispam_mysql_enabled%%bayes_sql_username @@antispam_mysql_user@@ %%uncomment LOCAL:antispam_mysql_enabled%%bayes_sql_password @@antispam_mysql_password@@ clear_headers add_header spam Flag _YESNOCAPS_ add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_ add_header all Level _STARS(*)_ add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_ header __FROM_FACEBOOK Return-Path:addr =~ /no-reply\@facebook\.com/i meta __FORGED_SENDER (!SPF_PASS && !DKIM_VALID_AU) meta FORGED_FACEBOOK_FROM (__FROM_FACEBOOK && __FORGED_SENDER) score FORGED_FACEBOOK 5 5 5 5 ifplugin Mail::SpamAssassin::Plugin::MIMEEval if can(Mail::SpamAssassin::Plugin::MIMEEval::has_check_for_ascii_text_illegal) body PP_MIME_FAKE_ASCII_TEXT eval:check_for_ascii_text_illegal() describe PP_MIME_FAKE_ASCII_TEXT MIME text/plain claims to be ASCII but isn't score PP_MIME_FAKE_ASCII_TEXT 1.0 endif if can(Mail::SpamAssassin::Plugin::MIMEEval::has_check_abundant_unicode_ratio) body PP_TOO_MUCH_UNICODE05 eval:check_abundant_unicode_ratio(0.05) describe PP_TOO_MUCH_UNICODE05 Is text/plain but has many unicode escapes score PP_TOO_MUCH_UNICODE05 1.0 body PP_TOO_MUCH_UNICODE02 eval:check_abundant_unicode_ratio(0.02) describe PP_TOO_MUCH_UNICODE02 Is text/plain but has many unicode escapes score PP_TOO_MUCH_UNICODE02 0.5 endif endif use_dcc 0 ifplugin Mail::SpamAssassin::Plugin::AskDNS askdns __DMARC_POLICY_NONE _dmarc._AUTHORDOMAIN_ TXT /^v\s*=DMARC1 (?=\s*;) .* ;\s* p\s*=\s*none \s*(?:;|\z)/x askdns __DMARC_POLICY_QUAR _dmarc._AUTHORDOMAIN_ TXT /^v\s*=DMARC1 (?=\s*;) .* ;\s* p\s*=\s*quarantine \s*(?:;|\z)/x askdns __DMARC_POLICY_REJECT _dmarc._AUTHORDOMAIN_ TXT /^v\s*=DMARC1 (?=\s*;) .* ;\s* p\s*=\s*reject \s*(?:;|\z)/x meta DMARC_FAIL_REJECT !(DKIM_VALID_AU || SPF_PASS) && __DMARC_POLICY_REJECT describe DMARC_FAIL_REJECT DMARC validation failed and policy is to reject score DMARC_FAIL_REJECT 9.0 meta DMARC_FAIL_QUAR !(DKIM_VALID_AU || SPF_PASS) && __DMARC_POLICY_QUAR describe DMARC_FAIL_QUAR DMARC validation failed and policy is quarantine score DMARC_FAIL_QUAR 6.0 meta DMARC_FAIL_NONE !(DKIM_VALID_AU || SPF_PASS) && __DMARC_POLICY_NONE describe DMARC_FAIL_NONE DMARC validation failed and policy is none score DMARC_FAIL_NONE 1.2 meta DMARC_PASS_REJECT DKIM_VALID_AU && SPF_PASS && __DMARC_POLICY_REJECT describe DMARC_PASS_REJECT DMARC validation passed and policy is to reject tflags DMARC_PASS_REJECT nice score DMARC_PASS_REJECT -1.2 meta DMARC_PASS_QUAR DKIM_VALID_AU && SPF_PASS && __DMARC_POLICY_QUAR describe DMARC_PASS_QUAR DMARC validation passed and policy is quarantine tflags DMARC_PASS_QUAR nice score DMARC_PASS_QUAR -1.0 meta DMARC_PASS_NONE DKIM_VALID_AU && SPF_PASS && __DMARC_POLICY_NONE describe DMARC_PASS_NONE DMARC validation passed and policy is none tflags DMARC_PASS_NONE nice score DMARC_PASS_NONE -0.6 endif # See https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7133 normalize_charset 1 whitelist_from *eposaudio.com