<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-2>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=452554010-15122005>According to <A 
href="http://activmedia.ch/groupware5.php#spam">http://activmedia.ch/groupware5.php#spam</A> (unfortunately 
only in german)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=452554010-15122005>one can also use  the 
"</SPAN></FONT><FONT><SPAN class=452554010-15122005><SPAN class=code><SPAN 
class=code>--dbpath /kolab/var/amavisd/.spamassassin"  switch to achieve 
this.</SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT><SPAN class=452554010-15122005><SPAN 
class=code><SPAN class=code>Also sa-learn must be run as user kolab-r. 
The wiki should also point that out then.</SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=452554010-15122005><SPAN class=code><SPAN 
class=code></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=452554010-15122005><SPAN class=code><SPAN 
class=code>Frank</SPAN></SPAN></SPAN></FONT></DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>Von:</B> kolab-users-bounces@kolab.org 
  [mailto:kolab-users-bounces@kolab.org] <B>Im Auftrag von </B>Maxime 
  Delorme<BR><B>Gesendet:</B> Donnerstag, 15. Dezember 2005 11:24<BR><B>An:</B> 
  kolab-users@kolab.org<BR><B>Betreff:</B> Re: AW: 
  spamassassin<BR></FONT><BR></DIV>
  <DIV></DIV>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>
  <DIV>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 <SPAN 
  class=452554010-15122005><FONT face=Arial color=#0000ff 
  size=2> </FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>