amavis-user June 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] amavis and spamassassina autolear

Re: [AMaViS-user] amavis and spamassassina autolearn

From: Stefano Sasso <stesasso_at_nospam>
Date: Sun Jun 13 2010 - 13:11:55 GMT
To: Giampaolo Tomassoni <Giampaolo@tomassoni.biz>

Hi Giampaolo,

2010/6/13 Giampaolo Tomassoni <Giampaolo@tomassoni.biz>:
> FWIK amavis doesn't even attempt to read the autolearn variable from
> local.cf, having nothing to do with it. So, your question is a bit OT here
> and you'd better ask to the SA maillist.

I'm not talking about reading autolearn variable from local.cf, but
about reading the autolearn result from SA "output".

> Anyway, you have to train the bayes DB with a number of ham and spam in
> order for autolearn to start operating. The autolearn=unavailable you see is
> exactly meant to say that bayes is not enough trained.

Autolearning is working correctly. As you can see in my previous mail,
the mail header is referred to the same mail logged by SA.
SpamAssassin is saying autolearn=no, but amavis reported
autolearn=unavailable.
It's the same story for mails which SA returns autolearn=spam or ham.
amavis always reports autolearn=unavailable.

> If you instead believe you already trained the bayes db enough, chances are
> you did it as a o.s. user which is not the same actually running amavis.
> Since SA defaults to use a per-user bayes db, it is actually working with a
> different, almost empty one.

I'll repeat: look at my previous mail. The header added by amavis is
related to the same mail for which SA logged autolearn=no. So I think
the problem is in communications between amavis and spamassassin.

thanks,
bye,
stefano

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot org