ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Mike Lykov <combr@vesna.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] настройка bogofilter
Date: Fri, 31 Oct 2003 14:38:37 +0400
Message-ID: <200310311438.37503.combr@vesna.ru> (raw)

Здравствуйте.

Кто пользуется bogofilter, расскажите пожалуйста.

Поставил я его в то время, когда версия была 0.13.6 , создал бвзы. нелавно 
обновил до 0.15.7 из сизифа.
а тут в мане читаю:

    The -H option tells bogofilter to combine scores  for  "head:"  tokens.
       Since  version  0.15.4  bogofilter  has been adding special tags to ALL
       header tokens. Prior to 0.15.4, only tokens in "To:", "From:", "Return-
       Path:",  and "Subject:" lines were given special prefixes. Now the rest
       of the header tokens are given a "head:"  prefix.  When  using  an  old
       wordlist,  this results in many tokens not being recognized. To compen-
       sate for this, using the -H option causes bogofilter  to  retrieve  the
       counts  for  the prefixed token and for the non-prefixed token and then
       combine the counts. This option  is  useful  if  you're  using  an  old
       wordlist.  If you retrained bogofilter bogofilter using 0.15.4 there is
       no need to use this option.

Получается, что теперь надо создавать базы заново? Или можно использовать
этот ключ? а что лучше? 
А как конвертировать? Наверно, придется создавать новые базы, ведь в нынешних 
информация уже потеряна из писем (о заголовках кроме тех, что занесены в 
базу)

а что насчет ключей -Ph -Pt ?

       Options  -Ph and -PH are for header line markup, i.e. whether to create
       special tags for header lines. When enabled, tokens in "To:",  "From:",
       "Return-Path:",  and  "Subject:"  lines will be given special prefixes.
       Enabling this option increases bogofilter's accuracy.

Может, лучше взять базу писем со спамом, создать из них базу spamlist.db для 
bogofilter, а потом для вызова фильтра на каждое письмо использовать

/usr/bin/bogofilter -p -e -l -Ph -Pt < inp.$$ > msg.$$  

?

-- 
Mike
registered linux user #315334
jabber id: combr@jabber.ru


                 reply	other threads:[~2003-10-31 10:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200310311438.37503.combr@vesna.ru \
    --to=combr@vesna.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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