Рабочий конфиг для spamassassin

Получил несколько писем на почту. Выкладываю свой local.cf.
Не благодарите.

report_safe 0
rewrite_header Subject ****SPAM(_SCORE_)****
required_score 5.0
use_bayes 1
bayes_auto_learn 1
bayes_learn_to_journal 1
bayes_path /etc/mail/spamassassin/bayes/bayes
bayes_file_mode 0755
bayes_min_ham_num 1
bayes_min_spam_num 1
use_razor2 0
use_pyzor 0
ok_locales en ru de fr
skip_rbl_checks 0
rbl_timeout 3

# Scores
score SPF_PASS -0.5
score HELO_LOCALHOST 2.5
score MISSING_HEADERS 2.5
score RCVD_IN_BL_SPAMCOP_NET 2.5
score RCVD_IN_SBL 2.0
score RCVD_IN_PBL 1.5
score RCVD_IN_URIBL_SBL 2.0
score URIBL_OB_SURBL 2.0
score RCVD_IN_SORBS_SPAM 0.9
score SUBJ_ALL_CAPS 2.5
score INVALID_MSGID 2.3
score RDNS_NONE 1.0
score RDNS_DYNAMIC 1.5
score RDNS_LOCALHOST 1.5
score US_DOLLARS_3 2.0
score MONEY_LOTTERY 1.2
score LOTS_OF_MONEY 2.5
score FAKED_UNDISC_RECIPS 3.0
score HK_RANDOM_FROM 2.0
score HK_RANDOM_ENVFROM 2.0
score MILLION_USD 5.0
score HTTP_EXCESSIVE_ESCAPES 5.0
score HTTPS_HTTP_MISMATCH 5.0
score FORM_FRAUD_3 5.0
score DRUGS_ERECTILE 5.0
score DIET_1 5.0
score IMG_DIRECT_TO_MX 5.0
score IMPOTENCE 5.0
score ONLINE_PHARMACY 5.0

# Scores SPF
score SPF_NONE 0
score SPF_HELO_NONE 0
score SPF_PASS -0.001
score SPF_HELO_PASS -0.001
score SPF_FAIL 2.5
score SPF_HELO_FAIL 2.5
score SPF_HELO_NEUTRAL 0
score SPF_HELO_SOFTFAIL 1.5
score SPF_NEUTRAL 0
score SPF_SOFTFAIL 1.5


Эта запись опубликована в Технические статьи/подсказки и отмечена , , , , , , . Добавьте в закладки постоянную ссылку.

Комментарии:

Обсуждение закрыто.