51 lines
1.7 KiB
CFEngine3
51 lines
1.7 KiB
CFEngine3
bayes_store_module Mail::SpamAssassin::BayesStore::MySQL
|
|
bayes_sql_dsn DBI:mysql:spamassassin:localhost
|
|
bayes_sql_username spamassassin
|
|
bayes_sql_password gWwELVMdgdbV
|
|
# bayes_sql_override_username vmail
|
|
bayes_sql_override_username amavis
|
|
|
|
bayes_auto_learn 0
|
|
|
|
# blacklisted email domains
|
|
# in format blacklist_from @domain
|
|
blacklist_from @news.up-leveled.com
|
|
blacklist_from @bestpros.info
|
|
blacklist_from @installio.biz.ua
|
|
blacklist_from @rawone.info
|
|
blacklist_from @no-reply.langmpc.com
|
|
blacklist_from @installio.co.ua
|
|
blacklist_from @vipperson.eu
|
|
blacklist_from @xnw.com
|
|
blacklist_from @teeperos.eu
|
|
blacklist_from @skyfamaly.biz.ua
|
|
blacklist_from @myloveronline.com
|
|
|
|
score RCVD_IN_BL_SPAMCOP_NET 0 5.246 0 5.347
|
|
score RCVD_IN_BRBL_LASTEXT 0 5.246 0 5.347
|
|
score URIBL_BLACK 0 5.7 0 5.7
|
|
score URIBL_WS_SURBL 0 2.659 0 2.608
|
|
score URIBL_MW_SURBL 0 2.263 0 2.263
|
|
score URIBL_CR_SURBL 0 2.263 0 2.263
|
|
score URIBL_GREY 0 2.084 0 1.424
|
|
score URIBL_DBL_SPAM 0 4.5 0 4.5
|
|
score URIBL_DBL_PHISH 0 4.5 0 4.5
|
|
score URIBL_DBL_MALWARE 0 4.5 0 4.5
|
|
score URIBL_DBL_BOTNETCC 0 4.5 0 4.5
|
|
score URIBL_DBL_ABUSE_SPAM 0 4.0 0 4.0
|
|
score URIBL_DBL_ABUSE_PHISH 0 4.5 0 4.5
|
|
score URIBL_DBL_ABUSE_MALW 0 4.5 0 4.5
|
|
score URIBL_DBL_ABUSE_BOTCC 0 4.5 0 4.5
|
|
|
|
|
|
ifplugin Mail::SpamAssassin::Plugin::RelayCountry
|
|
add_header all Relay-Country _RELAYCOUNTRY_
|
|
header RELAYCOUNTRY_BAD X-Relay-Countries =~ /(CN|RU|UA|RO|VN)/
|
|
describe RELAYCOUNTRY_BAD Relayed through spammy country at some point
|
|
score RELAYCOUNTRY_BAD 2.0
|
|
|
|
header RELAYCOUNTRY_GOOD X-Relay-Countries =~ /^(DE|AT|CH)/
|
|
describe RELAYCOUNTRY_GOOD First untrusted GW is DE, AT or CH
|
|
score RELAYCOUNTRY_GOOD -0.5
|
|
endif # Mail::SpamAssassin::Plugin::RelayCountry
|