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

Исходное сообщение
"Не работает белый список в spamassassin"

Отправлено konstantin811 , 07-Окт-08 15:54 
Стоит связка Postfix+Amavisd-new+Spamassassin
Не работает whitelist_from.
в local.cf прописано, например:


whitelist_from *@gmail.com

Приходит письмо с любого адреса *@gmail.com и к тому же ещё и как спам помечается:

X-Spam-Flag: YES
X-Spam-Score: 6.34
X-Spam-Level: ******
X-Spam-Status: Yes, score=6.34 tagged_above=-999 required=6.31
    tests=[BAYES_60=3, FORGED_RCVD_HELO=0.135, HTML_50_60=0.134,
    HTML_MESSAGE=0.001, MIME_BASE64_NO_NAME=0.224, MIME_BASE64

Почему не работает?


Содержание

Сообщения в этом обсуждении
"Не работает белый список в spamassassin"
Отправлено Бармалей , 08-Окт-08 10:24 
>[оверквотинг удален]
>как спам помечается:
>
>X-Spam-Flag: YES
>X-Spam-Score: 6.34
>X-Spam-Level: ******
>X-Spam-Status: Yes, score=6.34 tagged_above=-999 required=6.31
> tests=[BAYES_60=3, FORGED_RCVD_HELO=0.135, HTML_50_60=0.134,
> HTML_MESSAGE=0.001, MIME_BASE64_NO_NAME=0.224, MIME_BASE64
>
>Почему не работает?

Попробуйте изучить внимательно вывод команды

spamassassin --lint -D

хотя бы на предмет того смотрит ли SA на указанный Вами local.cf


"Не работает белый список в spamassassin"
Отправлено konstantin811 , 08-Окт-08 11:00 
>[оверквотинг удален]
>> tests=[BAYES_60=3, FORGED_RCVD_HELO=0.135, HTML_50_60=0.134,
>> HTML_MESSAGE=0.001, MIME_BASE64_NO_NAME=0.224, MIME_BASE64
>>
>>Почему не работает?
>
>Попробуйте изучить внимательно вывод команды
>
>spamassassin --lint -D
>
>хотя бы на предмет того смотрит ли SA на указанный Вами local.cf

Точно смотрит на local.cf, т.к. все мои остальные правила SA видит и измененные баллы за определенные правила. И блокирует по контенту.

Ну и на всякий случай вывод команды

# spamassassin --lint -D
[17889] dbg: logger: adding facilities: all
[17889] dbg: logger: logging level is DBG
[17889] dbg: generic: SpamAssassin version 3.1.7-deb
[17889] dbg: config: score set 0 chosen.
[17889] dbg: util: running in taint mode? yes
[17889] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH
[17889] dbg: util: PATH included '/usr/local/sbin', keeping
[17889] dbg: util: PATH included '/usr/local/bin', keeping
[17889] dbg: util: PATH included '/usr/sbin', keeping
[17889] dbg: util: PATH included '/usr/bin', keeping
[17889] dbg: util: PATH included '/sbin', keeping
[17889] dbg: util: PATH included '/bin', keeping
[17889] dbg: util: final PATH set to: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[17889] dbg: message: ---- MIME PARSER START ----
[17889] dbg: message: main message type: text/plain
[17889] dbg: message: parsing normal part
[17889] dbg: message: added part, type: text/plain
[17889] dbg: message: ---- MIME PARSER END ----
[17889] dbg: dns: is Net::DNS::Resolver available? no
[17889] dbg: diag: perl platform: 5.008008 linux
[17889] dbg: diag: module installed: Digest::SHA1, version 2.11
[17889] dbg: diag: module installed: HTML::Parser, version 3.55
[17889] dbg: diag: module installed: MIME::Base64, version 3.07
[17889] dbg: diag: module installed: DB_File, version 1.814
[17889] dbg: diag: module not installed: Net::DNS ('require' failed)
[17889] dbg: diag: module installed: Net::SMTP, version 2.29
[17889] dbg: diag: module not installed: Mail::SPF::Query ('require' failed)
[17889] dbg: diag: module not installed: IP::Country::Fast ('require' failed)
[17889] dbg: diag: module not installed: Razor2::Client::Agent ('require' failed)
[17889] dbg: diag: module not installed: Net::Ident ('require' failed)
[17889] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed)
[17889] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
[17889] dbg: diag: module installed: Time::HiRes, version 1.86
[17889] dbg: diag: module installed: DBI, version 1.53
[17889] dbg: diag: module installed: Getopt::Long, version 2.35
[17889] dbg: diag: module installed: LWP::UserAgent, version 2.033
[17889] dbg: diag: module installed: HTTP::Date, version 1.47
[17889] dbg: diag: module installed: Archive::Tar, version 1.30
[17889] dbg: diag: module installed: IO::Zlib, version 1.04
[17889] dbg: ignore: using a test message to lint rules
[17889] dbg: config: using "/etc/spamassassin" for site rules pre files
[17889] dbg: config: read file /etc/spamassassin/init.pre
[17889] dbg: config: read file /etc/spamassassin/v310.pre
[17889] dbg: config: read file /etc/spamassassin/v312.pre
[17889] dbg: config: using "/usr/share/spamassassin" for sys rules pre files
[17889] dbg: config: using "/usr/share/spamassassin" for default rules dir
[17889] dbg: config: read file /usr/share/spamassassin/10_misc.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_anti_ratware.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_compensate.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_drugs.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_fake_helo_tests.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_phrases.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_porn.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_ratware.cf
[17889] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf
[17889] dbg: config: read file /usr/share/spamassassin/23_bayes.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_body_tests_es.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_body_tests_pl.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_dcc.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_dkim.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_razor2.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_replace.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_spf.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_textcat.cf
[17889] dbg: config: read file /usr/share/spamassassin/25_uribl.cf
[17889] dbg: config: read file /usr/share/spamassassin/30_text_de.cf
[17889] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf
[17889] dbg: config: read file /usr/share/spamassassin/30_text_it.cf
[17889] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf
[17889] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf
[17889] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf
[17889] dbg: config: read file /usr/share/spamassassin/50_scores.cf
[17889] dbg: config: read file /usr/share/spamassassin/60_awl.cf
[17889] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf
[17889] dbg: config: read file /usr/share/spamassassin/60_whitelist_dk.cf
[17889] dbg: config: read file /usr/share/spamassassin/60_whitelist_dkim.cf
[17889] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf
[17889] dbg: config: read file /usr/share/spamassassin/60_whitelist_subject.cf
[17889] dbg: config: read file /usr/share/spamassassin/65_debian.cf
[17889] dbg: config: using "/etc/spamassassin" for site rules dir
[17889] dbg: config: read file /etc/spamassassin/local.cf
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8340a84)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8e7f2b4)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x8ea27b4)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[17889] dbg: pyzor: local tests only, disabling Pyzor
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::Pyzor=HASH(0x8eb8f44)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[17889] dbg: razor2: local tests only, skipping Razor
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::Razor2=HASH(0x8e8762c)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[17889] dbg: reporter: local tests only, disabling SpamCop
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::SpamCop=HASH(0x8e89f00)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::AWL=HASH(0x8f11cb0)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x8f0b78c)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x8f2ceb4)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x8f3a734)
[17889] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
[17889] dbg: plugin: registered Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x8f33afc)
[17889] dbg: config: adding redirector regex: /^http:\/\/chkpt\.zdnet\.com\/chkpt&#....*)$/i
[17889] dbg: config: adding redirector regex: /^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
[17889] dbg: config: adding redirector regex: /^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
[17889] dbg: config: adding redirector regex: /^http:\/\/redir\.internet\.com\/.+?&....*)$/i
[17889] dbg: config: adding redirector regex: /^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
[17889] dbg: config: adding redirector regex: m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&#])'i
[17889] dbg: config: adding redirector regex: m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
[17889] dbg: config: adding redirector regex: m'/(?:index.php)?\?.*(?<=[?&])URL=(.*?)(?:$|[&#])'i
[17889] dbg: config: adding redirector regex: m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/url\?.*?(?<=[?&])q=(.*?)(?:$|[&#])'i
[17889] dbg: config: adding redirector regex: m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])site:(.*?)(?:$|%20|[\s+&#])'i
[17889] dbg: config: adding redirector regex: m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])(?:"|%22)(.*?)(?:$|%22|["\s+&#])'i
[17889] dbg: config: adding redirector regex: m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate\?.*?(?<=[?&])u=(.*?)(?:$|[&#])'i
[17889] warn: config: failed to parse line, skipping: ok_laguages en ru
[17889] warn: config: failed to parse line, skipping: subject_tag *SPAM*_HITS_ points*
[17889] warn: config: warning: score set for non-existent rule HABEAS_SWE
[17889] warn: config: warning: score set for non-existent rule SUBJ_FULL_OF_8BITS
[17889] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x8f33afc) implements 'finish_parsing_end'
[17889] dbg: replacetags: replacing tags
[17889] dbg: replacetags: done replacing tags
[17889] dbg: bayes: tie-ing to DB file R/O /var/bayes/bayes_toks
[17889] dbg: bayes: tie-ing to DB file R/O /var/bayes/bayes_seen
[17889] dbg: bayes: found bayes db version 3
[17889] dbg: bayes: DB journal sync: last sync: 1223449126
[17889] dbg: config: score set 2 chosen.
[17889] dbg: message: ---- MIME PARSER START ----
[17889] dbg: message: main message type: text/plain
[17889] dbg: message: parsing normal part
[17889] dbg: message: added part, type: text/plain
[17889] dbg: message: ---- MIME PARSER END ----
[17889] dbg: dns: is DNS available? 0
[17889] dbg: metadata: X-Spam-Relays-Trusted:
[17889] dbg: metadata: X-Spam-Relays-Untrusted:
[17889] dbg: metadata: X-Spam-Relays-Internal:
[17889] dbg: metadata: X-Spam-Relays-External:
[17889] dbg: message: no encoding detected
[17889] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8340a84) implements 'parsed_metadata'
[17889] dbg: rules: local tests only, ignoring RBL eval
[17889] dbg: check: running tests for priority: 0
[17889] dbg: rules: running header regexp tests; score so far=0
[17889] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[17889] dbg: rules: ran header rule __SANE_MSGID ======> got hit: "<1223449133@lint_rules>
[17889] dbg: rules: "
[17889] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit: "@lint_rules>"
[17889] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit: "1223449133"
[17889] dbg: eval: all '*From' addrs: ignore@compiling.spamassassin.taint.org
[17889] dbg: eval: all '*To' addrs:
[17889] dbg: rules: ran eval rule NO_RELAYS ======> got hit
[17889] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
[17889] dbg: rules: running body-text per-line regexp tests; score so far=-0.001
[17889] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[17889] dbg: uri: running uri tests; score so far=-0.001
[17889] dbg: bayes: DB journal sync: last sync: 1223449126
[17889] dbg: bayes: corpus size: nspam = 3630, nham = 99
[17889] dbg: bayes: score = 0.54228524947144
[17889] dbg: bayes: DB journal sync: last sync: 1223449126
[17889] dbg: bayes: untie-ing
[17889] dbg: bayes: untie-ing db_toks
[17889] dbg: bayes: untie-ing db_seen
[17889] dbg: rules: ran eval rule BAYES_50 ======> got hit
[17889] dbg: rules: running raw-body-text per-line regexp tests; score so far=1.999
[17889] dbg: rules: running full-text regexp tests; score so far=1.999
[17889] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8340a84) implements 'check_tick'
[17889] dbg: check: running tests for priority: 500
[17889] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x8340a84) implements 'check_post_dnsbl'
[17889] dbg: rules: running meta tests; score so far=1.999
[17889] info: rules: meta test DIGEST_MULTIPLE has undefined dependency 'DCC_CHECK'
[17889] dbg: rules: running header regexp tests; score so far=4.156
[17889] dbg: rules: running body-text per-line regexp tests; score so far=4.156
[17889] dbg: uri: running uri tests; score so far=4.156
[17889] dbg: rules: running raw-body-text per-line regexp tests; score so far=4.156
[17889] dbg: rules: running full-text regexp tests; score so far=4.156
[17889] dbg: check: running tests for priority: 1000
[17889] dbg: rules: running meta tests; score so far=4.156
[17889] dbg: rules: running header regexp tests; score so far=4.156
[17889] dbg: rules: running body-text per-line regexp tests; score so far=4.156
[17889] dbg: uri: running uri tests; score so far=4.156
[17889] dbg: rules: running raw-body-text per-line regexp tests; score so far=4.156
[17889] dbg: rules: running full-text regexp tests; score so far=4.156
[17889] dbg: check: is spam? score=4.156 required=7.5
[17889] dbg: check: tests=BAYES_50,MISSING_SUBJECT,NO_RECEIVED,NO_RELAYS,TO_CC_NONE
[17889] dbg: check: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__UNUSABLE_MSGID
[17889] warn: lint: 4 issues detected, please rerun with debug enabled for more information


"Не работает белый список в spamassassin"
Отправлено Бармалей , 08-Окт-08 11:13 
Вот эти строки:

[17889] warn: config: failed to parse line, skipping: ok_laguages en ru
[17889] warn: config: failed to parse line, skipping: subject_tag *SPAM*_HITS_ points*
[17889] warn: config: warning: score set for non-existent rule HABEAS_SWE
[17889] warn: config: warning: score set for non-existent rule SUBJ_FULL_OF_8BITS
...
[17889] warn: lint: 4 issues detected, please rerun with debug enabled for more information

Говорят что с конфигом не все в порядке. Для того чтобы команда вывела только то, с чем траблы нужно запустить ее без -D (просто spamassassin --lint). После того как ошибки будут исправлены (по кр. мере первые две, которые относятся именно к local.cf) все должно работать ок (IMHO).


"Не работает белый список в spamassassin"
Отправлено konstantin811 , 08-Окт-08 11:29 
>Вот эти строки:
>вывела только то, с чем траблы нужно запустить ее без -D
>(просто spamassassin --lint). После того как ошибки будут исправлены (по кр.
>мере первые две, которые относятся именно к local.cf) все должно работать
>ок (IMHO).

Незнаю чем ему ok_laguages  en ru не понравилось. Придумывал всё не сам, а брал из статей по настройке SA.
Что можно убрал и вот что получилось:

spamassassin --lint
[22726] warn: config: failed to parse line, skipping: ok_laguages en ru
[22726] warn: lint: 1 issues detected, please rerun with debug enabled for more information

Вот мой local.cf

ok_locales                              en ru
ok_laguages                             en ru

rewrite_header Subject *****SPAM(_SCORE_)*****

add_header all Report _REPORT_

required_hits           7.5
report_safe             1

whitelist_from *@gazprombank.ru
whitelist_from *@fondservice.ru
whitelist_from *@ctbanke.ru
whitelist_from *@gmail.ru
whitelist_from *@gmail.com
whitelist_from *@diasoft.ru
whitelist_from *@yandex.ru
whitelist_from *@vedomosti.ru
whitelist_from *@softkey.ru
whitelist_from *@softline.ru
whitelist_from *@roseurobank.ru
whitelist_from *@trust.ru
whitelist_from *@mdmbank.com
whitelist_from *@finmarket.ru
whitelist_from *@raiffeisen.ru
whitelist_from *@MMBANK.RU

bayes_path /var/bayes/bayes
bayes_file_mode         0666
bayes_min_ham_num       1
bayes_min_spam_num      50
use_bayes 1
use_bayes_rules 1
bayes_auto_learn 0
use_auto_whitelist 0

score PORN_URL_SEX 4

score BAYES_99 5.5
score BAYES_95 4.5
score BAYES_80 4.0
score BAYES_60 3.0
score BAYES_50 2.0

score FROM_ILLEGAL_CHARS        0
score SUBJ_ILLEGAL_CHARS        0
score HEAD_ILLEGAL_CHARS        0
score FORGED_IMS_TAGS           1

Далее идут записи такого типа:

ok_locales                              en ru
ok_laguages                             en ru

rewrite_header Subject *****SPAM(_SCORE_)*****

add_header all Report _REPORT_

required_hits           7.5
report_safe             1


whitelist_from *@ctbanke.ru
whitelist_from *@gmail.ru
whitelist_from *@gmail.com
whitelist_from *@yandex.ru
whitelist_from *@softkey.ru
whitelist_from *@softline.ru


bayes_path /var/bayes/bayes
bayes_file_mode         0666
bayes_min_ham_num       1
bayes_min_spam_num      50
use_bayes 1
use_bayes_rules 1
bayes_auto_learn 0
use_auto_whitelist 0

score PORN_URL_SEX 4

score BAYES_99 5.5
score BAYES_95 4.5
score BAYES_80 4.0
score BAYES_60 3.0
score BAYES_50 2.0

score FROM_ILLEGAL_CHARS        0
score SUBJ_ILLEGAL_CHARS        0
score HEAD_ILLEGAL_CHARS        0
score FORGED_IMS_TAGS           1

Далее идут записи такого типа:

body PRIVET_OT_LENI2 /goldmoney-casino.com/i
describe PRIVET_OT_LENI2 Privet ot Eleny
score PRIVET_OT_LENI2 5

header PORNO Subject =~ /(\xD0|\xF0|\xEF|\xCF|\xD0\xBF|\xD0\x9F|\xDF|\xBF|n)[[:blank:][:punct:]]?(\xCF|\xEF|\xEE|\xCE|\xD0\xBE|\xD0\x9E|\xDE|\xBE|o|O|0)[[:blank:][:punct:]]?(\xD2|\xF2|\xF0|\xD0|\xD1\x80|\xD0\xA0|\xE0|\xC0|p|P)[[:blank:][:punct:]]?(\xCE|\xEE|\xED|\xCD|\xD0\xBD|\xD0\x9D|\xDD|\xBD|H)[[:blank:][:punct:]]?(\xCF|\xEF|\xEE|\xCE|\xD0\xBE|\xD0\x9E|\xDE|\xBE|o|O|0)[[:blank:][:punct:]]?/
score PORNO 3


"Не работает белый список в spamassassin"
Отправлено Andrey Mitrofanov , 08-Окт-08 11:42 
>Незнаю чем ему ok_laguages  en ru не понравилось. Придумывал всё не
>сам, а брал из статей по настройке SA.
>spamassassin --lint
>[22726] warn: config: failed to parse line, skipping: ok_laguages en ru
>[22726] warn: lint: 1 issues detected, please rerun with debug enabled for
>more information
>
>ok_laguages en ru

languages ? :)


"Не работает белый список в spamassassin"
Отправлено konstantin811 , 08-Окт-08 11:55 
>>Незнаю чем ему ok_laguages  en ru не понравилось. Придумывал всё не
>>сам, а брал из статей по настройке SA.
>>spamassassin --lint
>>[22726] warn: config: failed to parse line, skipping: ok_laguages en ru
>>[22726] warn: lint: 1 issues detected, please rerun with debug enabled for
>>more information
>>
>>ok_laguages en ru
>
>languages ? :)

Да, что-то правда тупанул :) Вроде всё проверил а тут элементарная ошибка.

Правда всё равно ругается spamassassin --lint
[27991] warn: config: failed to parse, now a plugin, skipping: ok_languages ru en

Но в общем теперь заработало:

X-Spam-Score: -99.165
X-Spam-Level:
X-Spam-Status: No, score=-99.165 tagged_above=-999 required=6.31
    tests=[BAYES_20=-0.74, HTML_MESSAGE=0.001, HTML_SHORT_LENGTH=1.574,
    USER_IN_WHITELIST=-100]

Вот только как менять балы за whitelist?
Попробовал score USER_IN_WHITELIST -50 не получилось.



"Не работает белый список в spamassassin"
Отправлено Бармалей , 08-Окт-08 11:52 
>Что можно убрал и вот что получилось:
>
>spamassassin --lint
>[22726] warn: config: failed to parse line, skipping: ok_laguages en ru
>[22726] warn: lint: 1 issues detected, please rerun with debug enabled for
>more information

Присоединяюсь к Andrey Mitrofanov по поводу буквы n , от себя могу сказать что у меня в конфиге прописано:

ok_locales ru en

Версия SA p5-Mail-SpamAssassin-3.2.5


"Не работает белый список в spamassassin"
Отправлено konstantin811 , 08-Окт-08 12:00 
>[оверквотинг удален]
>>[22726] warn: config: failed to parse line, skipping: ok_laguages en ru
>>[22726] warn: lint: 1 issues detected, please rerun with debug enabled for
>>more information
>
>Присоединяюсь к Andrey Mitrofanov по поводу буквы n , от себя могу
>сказать что у меня в конфиге прописано:
>
>ok_locales ru en
>
>Версия SA p5-Mail-SpamAssassin-3.2.5

Да, я тоже убрал languages ;)
Огромное спасибо!