ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Pavel Stoliarov <mylinux02@mail.ru>
To: community@altlinux.ru
Subject: [Comm] Проблема с sa-learn (spamassassin)
Date: Fri, 3 Jun 2005 07:26:57 +0500
Message-ID: <200506030726.57169.mylinux02@mail.ru> (raw)

Всем привет. 
Имею 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


             reply	other threads:[~2005-06-03  2:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-03  2:26 Pavel Stoliarov [this message]
2005-06-03  3:47 ` Pavel Stoliarov
2005-06-03  6:25   ` Slava Dubrovskiy
2005-06-03  7:28 ` Alexey Morsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200506030726.57169.mylinux02@mail.ru \
    --to=mylinux02@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git