AW: spamassassin
Bohuslav Blin
blin at ucetnictvi-on-line.cz
Thu Dec 15 10:50:50 CET 2005
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
>
> Running sa-learn as user kolab-r I get:
>
> /////////
> bayes expire_old_tokens: lock: 3875 cannot create tmp lockfile
> /kolab/.spamassassin/bayes.lock.kolabserver.takeabyte.de.3875 for
> /kolab/.spamassassin/bayes.lock: No such file or directory
>
> Learned from 0 message(s) (1 message(s) examined).
> lock: 3875 cannot create tmp lockfile
> /kolab/.spamassassin/bayes.lock.kolabserver.takeabyte.de.3875 for
> /kolab/.spamassassin/bayes.lock: No such file or directory
> ////////
>
> Does running sa-learn as user root (which gives none of these errors) have
> any effect on spamassasins filtering on a default kolab installation?
> Section "Fighting spam" in the Kolab wiki doesn't mention kolab-r.
>
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]*
--
Bohuslav Blin
More information about the users
mailing list