[Comm] Проблема с sa-learn (spamassassin)
Pavel Stoliarov
=?iso-8859-1?q?mylinux02_=CE=C1_mail=2Eru?=
Пт Июн 3 06:26:57 MSD 2005
Всем привет.
Имею Master2.4 , postfix + amavisd + clamav + spamassassin-3.0.0-alt1.pre3
Пытаюсь обучить spamassassin , в каталоге /var/spool/spam лежат письма ,
которые я считаю спамом :
sa-learn -D 3 --spam -C /etc/mail/spamassassin --showdots
--dir /var/spool/spam/
В итоге получаю :
debug: SpamAssassin version 3.0.0-pre3
debug: Score set 0 chosen.
debug: running in taint mode? yes
debug: Running in taint mode, removing unsafe env vars, and resetting PATH
debug: PATH included '/root/bin', which doesn't exist, dropping.
debug: PATH included '/sbin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/usr/local/sbin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/usr/X11R6/bin', keeping.
debug: Final PATH set
to: /sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/mail/spamassassin/init.pre
debug: using "/etc/mail/spamassassin" for default rules dir
debug: config: read file /etc/mail/spamassassin/local.cf
debug: using "/etc/mail/spamassassin" for site rules dir
debug: config: read file /etc/mail/spamassassin/local.cf
debug: using "/root/.spamassassin/user_prefs" for user prefs file
debug: config: read file /root/.spamassassin/user_prefs
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f1f8)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8b380c0)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x8b452ac)
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8b380c0) implements
'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x847f1f8) implements
'parse_config'
debug: Failed to parse line in SpamAssassin configuration, skipping:
rewrite_subject 0
debug: Failed to parse line in SpamAssassin configuration, skipping:
subject_tag [* SPAM? *]
debug: Failed to parse line in SpamAssassin configuration, skipping:
use_terse_report 0
debug: Failed to parse line in SpamAssassin configuration, skipping:
auto_learn 1
debug: Failed to parse line in SpamAssassin configuration, skipping:
rewrite_subject 0
debug: Failed to parse line in SpamAssassin configuration, skipping:
subject_tag [* SPAM? *]
debug: Failed to parse line in SpamAssassin configuration, skipping:
use_terse_report 0
debug: Failed to parse line in SpamAssassin configuration, skipping:
auto_learn 1
debug: bayes: 13762 tie-ing to DB file R/O /var/spool/spamassassin/bayes_toks
debug: bayes: 13762 tie-ing to DB file R/O /var/spool/spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: bayes: Not available for scanning, only 27 spam(s) in Bayes DB < 200
debug: bayes: 13762 untie-ing
debug: bayes: 13762 untie-ing db_toks
debug: bayes: 13762 untie-ing db_seen
debug: Score set 0 chosen.
debug: Initialising learner
debug: Syncing Bayes and expiring old tokens...
debug: lock: 13762 created /var/spool/spamassassin/bayes.lock.gate.13762
debug: lock: 13762 trying to get lock on /var/spool/spamassassin/bayes with 0
retries
debug: lock: 13762 trying to get lock on /var/spool/spamassassin/bayes with 1
retries
debug: lock: 13762 trying to get lock on /var/spool/spamassassin/bayes with 2
retries
......
......
debug: lock: 13762 trying to get lock on /var/spool/spamassassin/bayes with 29
retries
debug: lock: 13762 trying to get lock on /var/spool/spamassassin/bayes with 30
retries
......
......
И так до безконечности пока не прервешь
В чем может быть проблема ?
--
Best regards
Pavel Stoliarov
Подробная информация о списке рассылки community