AW: AW: spamassassin

Frank Höger hoeger at takeabyte.de
Thu Dec 15 11:49:43 CET 2005


According to http://activmedia.ch/groupware5.php#spam (unfortunately only in
german)
one can also use  the "--dbpath /kolab/var/amavisd/.spamassassin"  switch to
achieve this.
Also sa-learn must be run as user kolab-r. The wiki should also point that
out then.
 
Frank


  _____  

Von: kolab-users-bounces at kolab.org [mailto:kolab-users-bounces at kolab.org] Im
Auftrag von Maxime Delorme
Gesendet: Donnerstag, 15. Dezember 2005 11:24
An: kolab-users at kolab.org
Betreff: Re: AW: spamassassin


Bohuslav Blin wrote: 

Dne čtvrtek 15 prosinec 2005 10:35 Frank Höger napsal(a):

  

-----Ursprüngliche Nachricht-----

Von: kolab-users-bounces at kolab.org

[mailto:kolab-users-bounces at kolab.org] Im Auftrag von Bohuslav Blin

Gesendet: Dienstag, 13. Dezember 2005 11:51

An: kolab-users at kolab.org

Betreff: Re: spamassassin



Dne úterý 13 prosinec 2005 09:35 Maxime Delorme napsal(a):

      

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

        

spam learned



      

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

        

bayes_toks, how



      

could I know



Any help would be great

        

You have to run sa-learn commands under kolab-r user.



--

Bohuslav Blin



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]*

so the db used for fighting spam should be in
(/usr/local)/kolab/var/amavisd/.spamassassin/  ?
If you say yes then the wiki should be corrected.

thanks for your answer  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20051215/a3565a21/attachment.html>


More information about the users mailing list