<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Bohuslav Blin wrote:
<blockquote cite="mid200512151050.50665.blin@ucetnictvi-on-line.cz"
 type="cite">
  <pre wrap="">Dne ètvrtek 15 prosinec 2005 10:35 Frank Höger napsal(a):
  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">-----Ursprüngliche Nachricht-----
Von: <a class="moz-txt-link-abbreviated" href="mailto:kolab-users-bounces@kolab.org">kolab-users-bounces@kolab.org</a>
[<a class="moz-txt-link-freetext" href="mailto:kolab-users-bounces@kolab.org">mailto:kolab-users-bounces@kolab.org</a>] Im Auftrag von Bohuslav Blin
Gesendet: Dienstag, 13. Dezember 2005 11:51
An: <a class="moz-txt-link-abbreviated" href="mailto:kolab-users@kolab.org">kolab-users@kolab.org</a>
Betreff: Re: spamassassin

Dne úterý 13 prosinec 2005 09:35 Maxime Delorme napsal(a):
      </pre>
      <blockquote type="cite">
        <pre wrap="">I've got problem,

spamassassin doen't work properly. It is trained but I think it
doesn't use it bayesian teaching. Because a lot of same
        </pre>
      </blockquote>
      <pre wrap="">spam learned

      </pre>
      <blockquote type="cite">
        <pre wrap="">are not identify as spam when they come back.

On kolab server I've got :

/root/.spamassassin/bayes_toks
/root/.spamassassin/bayes_seen

updated with spamanclam.sh

But also
/usr/local/kolab/.spamassassin/bayes_toks
/usr/local/kolab/.spamassassin/bayes_seen
/usr/local/kolab/var/amavisd/.spamassassin/bayes_toks
/usr/local/kolab/var/amavisd/.spamassassin/bayes_seen

So I'm thinking, that spamd  is not using the good one
        </pre>
      </blockquote>
      <pre wrap="">bayes_toks, how

      </pre>
      <blockquote type="cite">
        <pre wrap="">could I know

Any help would be great
        </pre>
      </blockquote>
      <pre wrap="">You have to run sa-learn commands under kolab-r user.

--
Bohuslav Blin</pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
i forgot something:
after su to kolab-r user, you have to export home directory.

export HOME=/kolab/var/amavisd

after this run:

/kolab/bin/sa-learn --spam /kolab/var/imapd/spool/domain/*/shared^spam/[1-9]*
/kolab/bin/sa-learn --ham /kolab/var/imapd/spool/domain/*/shared^ham/[1-9]*</pre>
</blockquote>
so the db used for fighting spam should be in
(/usr/local)/kolab/var/amavisd/.spamassassin/  ?<br>
If you say yes then the wiki should be corrected.<br>
<br>
thanks for your answer
</body>
</html>