URL: https://www.opennet.ru/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 51871
[ Назад ]

Исходное сообщение
"spamassassin: autolearn "

Отправлено a Clockwork Orange , 23-Дек-04 09:30 
www# cat /usr/local/etc/mail/spamassassin/local.cf
report_safe                     0
always_add_report               1

rewrite_subject                 1
subject_tag                     *****SPAM*****
required_hits                   4.7
whitelist_from                  *@subscribe.ru
whitelist_from                  *@headhunter.ru
whitelist_from                  progress@strs.ru
whitelist_from                  progress_storehouse@strs.ru
whitelist_from                  lebedev@s.ru
whitelist_from                  mskcourier@ozon.ru

use_dcc                         0
use_pyzor                       0
use_razor2                      0
use_bayes                       1

trusted_networks                127/8

skip_rbl_checks                 0

allow_user_rules                0

ok_languages                    ru en
ok_locales                      ru en

auto_whitelist_path             /var/.spamassassin/awl
bayes_path                      /var/.spamassassin/bayes

report_charset                  KOI8-R

auto_learn                      1
#auto_learn_threshold_spam      10
#auto_learn_threshold_nonspam   -2

#score RCVD_IN_OSIRUSOFT_COM    0
#score RCVD_IN_OSIRU            0
#score RCVD_IN_OSIRU_DIALUP     0
#score RCVD_IN_OSIRU_PROXY      0
#score RCVD_IN_OSIRU_RELAY      0
#score RCVD_IN_OSIRU_SPAMWARE   0
#score RCVD_IN_OSIRU_SPAM_SRC   0

#score FORGED_IMS_TAGS          3.3
#score SUBJ_ILLEGAL_CHARS       0

#score FROM_ILLEGAL_CHARS       3.1
#score HEAD_ILLEGAL_CHARS       4.3

#score HEADER_8BITS             0
#score SUBJ_FULL_OF_8BITS       0
#score HTML_COMMENT_8BITS       0

#score SUBJ_FULL_OF_8BITS        0
#score FROM_ILLEGAL_CHARS        2.5
#score SUBJ_ILLEGAL_CHARS        0
#score HEAD_ILLEGAL_CHARS        2.5

#score NO_REAL_NAME             0
#score HTML_30_40 BODY          0.5
www#

В любом письме помеченном как спам и не помеченном я вижу autolearn=no, хотя в файле стоит 1

X-Spam-Status: No, hits=3.8 required=4.7 tests=BAYES_90,DNS_FROM_RFCI_DSN, HTML_70_80,HTML_FONT_BIG,HTML_FONT_INVISIBLE,HTML_MESSAGE, MIME_HTML_ONLY autolearn=no version=2.63
X-Spam-Report:  *  0.6 HTML_FONT_INVISIBLE BODY: HTML font color is same as background *  0.3 HTML_FONT_BIG BODY: HTML has a big font *  0.1 HTML_70_80 BODY: Message is 70% to 80% HTML *  2.1 BAYES_90 BODY: Bayesian spam probability is 90 to 99% *      [score: 0.9474] *  0.3 MIME_HTML_ONLY BODY: Message only has text/html MIME parts *  0.1 HTML_MESSAGE BODY: HTML included in message *  0.3 DNS_FROM_RFCI_DSN RBL: From: sender listed in dsn.rfc-ignorant.org
X-Spam-Level: ***


Содержание

Сообщения в этом обсуждении
"spamassassin: autolearn "
Отправлено DogEater , 23-Дек-04 12:36 
>#auto_learn_threshold_spam      10
>#auto_learn_threshold_nonspam   -2
по моему, это очковая вилка для обучения - смотри очки в письмах, которые не обучают
если не ломает, то прочитай man sa-learn как учить ручками


"spamassassin: autolearn "
Отправлено Alexandr9 , 23-Дек-04 13:46 
>>#auto_learn_threshold_spam      10
>>#auto_learn_threshold_nonspam   -2

ну дык настрой вот эти переменные. Все что попадает между значениями [-2;10] не будет спам и не хам.
#auto_learn_threshold_spam      10
#auto_learn_threshold_nonspam   -2