|
Компьютерный форум OSzone.net » Linux и FreeBSD » Общий по FreeBSD » spamassassin не обучается |
|
spamassassin не обучается
|
Пользователь Сообщения: 112 |
Профиль | Отправить PM | Цитировать Поднял почтарь, связал его со SpamAssasin, набрал две кучи писем (хороших и плохих-спам), свалил их в две папки, решил обучить SpamAssasin. Делаю:
Выводит: Learned tokens from 0 message(s) (1 message(s) examined) ERROR: the Bayes learn function returned an error, please re-run with -D for more information sash# Выводит: [25347] dbg: logger: adding facilities: all [25347] dbg: logger: logging level is DBG [25347] dbg: generic: SpamAssassin version 3.2.0 [25347] dbg: config: score set 0 chosen. [25347] dbg: util: running in taint mode? yes [25347] dbg: util: taint mode: deleting unsafe environment variables, resetting PATH [25347] dbg: util: PATH included '/sbin', keeping [25347] dbg: util: PATH included '/bin', keeping [25347] dbg: util: PATH included '/usr/sbin', keeping [25347] dbg: util: PATH included '/usr/bin', keeping [25347] dbg: util: PATH included '/usr/games', keeping [25347] dbg: util: PATH included '/usr/local/sbin', keeping [25347] dbg: util: PATH included '/usr/local/bin', keeping [25347] dbg: util: PATH included '/usr/X11R6/bin', keeping [25347] dbg: util: PATH included '/root/bin', which doesn't exist, dropping [25347] dbg: util: final PATH set to: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin [25347] dbg: dns: is Net::DNS::Resolver available? yes [25347] dbg: dns: Net::DNS version: 0.59 [25347] dbg: config: using "/usr/local/etc/mail/spamassassin" for site rules pre files [25347] dbg: config: read file /usr/local/etc/mail/spamassassin/init.pre [25347] dbg: config: read file /usr/local/etc/mail/spamassassin/v310.pre [25347] dbg: config: read file /usr/local/etc/mail/spamassassin/v312.pre [25347] dbg: config: read file /usr/local/etc/mail/spamassassin/v320.pre [25347] dbg: config: using "/usr/local/share/spamassassin" for sys rules pre files [25347] dbg: config: using "/usr/local/share/spamassassin" for default rules dir [25347] dbg: config: read file /usr/local/share/spamassassin/10_default_prefs.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_advance_fee.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_body_tests.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_compensate.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_dnsbl_tests.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_drugs.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_dynrdns.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_fake_helo_tests.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_head_tests.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_html_tests.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_imageinfo.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_meta_tests.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_net_tests.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_phrases.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_porn.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_ratware.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_uri_tests.cf [25347] dbg: config: read file /usr/local/share/spamassassin/20_vbounce.cf [25347] dbg: config: read file /usr/local/share/spamassassin/23_bayes.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_accessdb.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_antivirus.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_asn.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_dcc.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_dkim.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_domainkeys.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_hashcash.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_pyzor.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_razor2.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_replace.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_spf.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_textcat.cf [25347] dbg: config: read file /usr/local/share/spamassassin/25_uribl.cf [25347] dbg: config: read file /usr/local/share/spamassassin/30_text_de.cf [25347] dbg: config: read file /usr/local/share/spamassassin/30_text_fr.cf [25347] dbg: config: read file /usr/local/share/spamassassin/30_text_it.cf [25347] dbg: config: read file /usr/local/share/spamassassin/30_text_nl.cf [25347] dbg: config: read file /usr/local/share/spamassassin/30_text_pl.cf [25347] dbg: config: read file /usr/local/share/spamassassin/30_text_pt_br.cf [25347] dbg: config: read file /usr/local/share/spamassassin/50_scores.cf [25347] dbg: config: read file /usr/local/share/spamassassin/60_awl.cf [25347] dbg: config: read file /usr/local/share/spamassassin/60_shortcircuit.cf [25347] dbg: config: read file /usr/local/share/spamassassin/60_whitelist.cf [25347] dbg: config: read file /usr/local/share/spamassassin/60_whitelist_dk.cf [25347] dbg: config: read file /usr/local/share/spamassassin/60_whitelist_dkim.cf [25347] dbg: config: read file /usr/local/share/spamassassin/60_whitelist_spf.cf [25347] dbg: config: read file /usr/local/share/spamassassin/60_whitelist_subject.cf [25347] dbg: config: read file /usr/local/share/spamassassin/72_active.cf [25347] dbg: config: using "/usr/local/etc/mail/spamassassin" for site rules dir [25347] dbg: config: read file /usr/local/etc/mail/spamassassin/local.cf [25347] dbg: config: using "/root/.spamassassin/user_prefs" for user prefs file [25347] dbg: config: read file /root/.spamassassin/user_prefs [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC [25347] dbg: reporter: network tests on, attempting SpamCop [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC [25347] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC [25347] info: config: failed to parse line, skipping, in "/usr/local/etc/mail/spamassassin/local.cf": defang_mime 0 [25347] info: config: failed to parse line, skipping, in "/usr/local/etc/mail/spamassassin/local.cf": use_terse_report 1 [25347] info: config: failed to parse, now a plugin, skipping, in "/usr/local/etc/mail/spamassassin/local.cf": ok_languages all [25347] info: config: failed to parse line, skipping, in "/usr/local/etc/mail/spamassassin/local.cf": report_header 1 [25347] dbg: rules: __MO_OL_9B90B merged duplicates: __MO_OL_C65FA [25347] dbg: rules: __XM_OL_22B61 merged duplicates: __XM_OL_A842E [25347] dbg: rules: __MO_OL_07794 merged duplicates: __MO_OL_8627E __MO_OL_F3B05 [25347] dbg: rules: __XM_OL_07794 merged duplicates: __XM_OL_25340 __XM_OL_3857F __XM_OL_4F240 __XM_OL_58CB5 __XM_OL_6554A __XM_OL_812FF __XM_OL_C65FA __XM_OL_CF0C0 __XM_OL_F475E __XM_OL_F6D01 [25347] dbg: rules: FH_MSGID_01C67 merged duplicates: __MSGID_VGA [25347] dbg: rules: FS_NEW_SOFT_UPLOAD merged duplicates: HS_SUBJ_NEW_SOFTWARE [25347] dbg: rules: __FH_HAS_XMSMAIL merged duplicates: __HAS_MSMAIL_PRI [25347] dbg: rules: __MO_OL_015D5 merged duplicates: __MO_OL_6554A [25347] dbg: rules: __MO_OL_91287 merged duplicates: __MO_OL_B30D1 __MO_OL_CF0C0 [25347] dbg: rules: __XM_OL_015D5 merged duplicates: __XM_OL_4BF4C __XM_OL_4EEDB __XM_OL_5B79A __XM_OL_9B90B __XM_OL_ADFF7 __XM_OL_B30D1 __XM_OL_B4B40 __XM_OL_BC7E6 __XM_OL_F3B05 __XM_OL_FF5C8 [25347] dbg: rules: __XM_OL_5E7ED merged duplicates: __XM_OL_D03AB [25347] dbg: rules: __MO_OL_22B61 merged duplicates: __MO_OL_4F240 __MO_OL_ADFF7 [25347] dbg: rules: __MO_OL_812FF merged duplicates: __MO_OL_BC7E6 [25347] dbg: rules: __MO_OL_25340 merged duplicates: __MO_OL_4EEDB __MO_OL_7533E [25347] dbg: rules: __MO_OL_58CB5 merged duplicates: __MO_OL_B4B40 [25347] dbg: rules: __DOS_HAS_ANY_URI merged duplicates: __HAS_ANY_URI [25347] dbg: rules: __XM_OL_C7C33 merged duplicates: __XM_OL_C9068 __XM_OL_EF20B [25347] dbg: rules: __MO_OL_72641 merged duplicates: __MO_OL_A842E [25347] dbg: rules: __MO_OL_5E7ED merged duplicates: __MO_OL_C7C33 [25347] dbg: rules: __MO_OL_F475E merged duplicates: __MO_OL_FF5C8 [25347] dbg: rules: __MO_OL_4BF4C merged duplicates: __MO_OL_F6D01 [25347] dbg: conf: finish parsing [25347] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x8d0dcd8) implements 'finish_parsing_end', priority 0 [25347] dbg: replacetags: replacing tags [25347] dbg: replacetags: done replacing tags [25347] dbg: bayes: using username: spam [25347] dbg: bayes: unable to connect to database: Access denied for user 'spamassasin'@'localhost' (using password: YES) [25347] dbg: config: score set 1 chosen. [25347] dbg: learn: initializing learner [25347] dbg: bayes: bayes journal sync starting [25347] dbg: bayes: bayes journal sync completed [25347] dbg: bayes: expiry starting [25347] dbg: bayes: unable to connect to database: Access denied for user 'spamassasin'@'localhost' (using password: YES) [25347] dbg: bayes: expiry completed [25347] dbg: message: line ending changed to CRLF [25347] dbg: message: main message type: multipart/alternative [25347] dbg: markup: removing markup [25347] dbg: markup: removing markup in Subject [25347] dbg: message: line ending changed to CRLF [25347] dbg: message: main message type: multipart/alternative [25347] dbg: message: ---- MIME PARSER START ---- [25347] dbg: message: parsing multipart, got boundary: ----=_NextPart_000_0006_01C7EA3A.CCDF2F90 [25347] dbg: message: found part of type text/plain, boundary: ----=_NextPart_000_0006_01C7EA3A.CCDF2F90 [25347] dbg: message: added part, type: text/plain [25347] dbg: message: found part of type text/html, boundary: ----=_NextPart_000_0006_01C7EA3A.CCDF2F90 [25347] dbg: message: added part, type: text/html [25347] dbg: message: parsing normal part [25347] dbg: message: parsing normal part [25347] dbg: message: ---- MIME PARSER END ---- [25347] dbg: learn: learning spam [25347] dbg: conf: trusted_networks are not configured; it is recommended that you configure trusted_networks manually [25347] dbg: received-header: parsed as [ ip=89.204.94.64 rdns= helo=!89.204.94.64! by=xxxx.xxx.xx ident= envfrom= intl=0 id=md50000007109.msg auth= msa=0 ] [25347] dbg: received-header: do not trust any hosts from here on [25347] dbg: received-header: relay 89.204.94.64 trusted? no internal? no msa? no [25347] dbg: metadata: X-Spam-Relays-Trusted: [25347] dbg: metadata: X-Spam-Relays-Untrusted: [ ip=89.204.94.64 rdns= helo=!89.204.94.64! by=xxxx.xxx.xx ident= envfrom= intl=0 id=md50000007109.msg auth= msa=0 ] [25347] dbg: metadata: X-Spam-Relays-Internal: [25347] dbg: metadata: X-Spam-Relays-External: [ ip=89.204.94.64 rdns= helo=!89.204.94.64! by=xxxx.xxx.xx ident= envfrom= intl=0 id=md50000007109.msg auth= msa=0 ] [25347] dbg: message: decoding other encoding type (8bit), ignoring [25347] dbg: message: decoding quoted-printable [25347] dbg: bayes: unable to connect to database: Access denied for user 'spamassasin'@'localhost' (using password: YES) Learned tokens from 0 message(s) (1 message(s) examined) ERROR: the Bayes learn function returned an error, please re-run with -D for more information sash# ....не обучается! Подскажите, что не так? |
|
Отправлено: 09:17, 06-09-2007 |
Пользователь Сообщения: 112
|
Профиль | Отправить PM | Цитировать ....разобрался я: пароль на БД в мускуле не подходил..
|
Отправлено: 14:20, 14-09-2007 | #2 |
Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети. Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля. |
Участник сейчас на форуме | Участник вне форума | Автор темы | Сообщение прикреплено |
| |||||
Название темы | Автор | Информация о форуме | Ответов | Последнее сообщение | |
spamassassin - пустые письма | zelo | Программное обеспечение Linux и FreeBSD | 6 | 19-02-2009 17:36 | |
Фильтрация спама в связке Spamassassin + Qmail + Debian | Unspammer | Программное обеспечение Linux и FreeBSD | 1 | 23-10-2008 19:17 | |
spamassassin прикрутить к postfix | zelo | Программное обеспечение Linux и FreeBSD | 1 | 18-09-2008 13:01 | |
Spamassassin - сразу удалять письма | Napasick | Общий по Linux | 1 | 02-07-2008 15:37 | |
FreeBSD 6.2-RELEASE и квест по установке Spamassassin | Negativ | Программное обеспечение Linux и FreeBSD | 2 | 13-05-2008 15:28 |
|