Hello,



My problem is: The bayes filter does (auto-)learn ham mails but no
spam mails. In my logs I found spam mails that have a very high score
and should be autolearned. I think my bayes setup is correct, because
ham mails are learned as expected.
Autolearning is based on a different score to the one used for
classification. It uses the rule scores that would be used if Bayes
were disabled and ignores some type of rule altogether. For spam you
need 3 points from *both* the headers and the body.

It probably is working correctly, as far as I can tell you haven't
actually established that no spam is being autolearned.
Ok, there's a different score - I understand. But what worries me is,
that I found mails in the log with a really high spam score and lots of
rule matches. For all the (SA) marked spam mails I do not get a line in
the logs with 'autolearn=no' as is the case for all ham mails. My mail
server is now running for a week with hundreds of ham mails in the
filter but no spams. It's a company server with 300 users and a long
established MX record. So for me it is hard to imagine that there is no
spam mail suitable for filter learning.

I suspect the milter style of integration reject leads to a situation in
which the spam learning part is suppressed. So there's no message about
the mail being learned or not in the logs.

What do you think? Any chance to debug this?

Dieter

As far as I can see, you don't really know whether your setup is
actually learning spam or not. The logs just don't mention anything
useful about spam email. Could you check the bayes stats so we actually
know if there is a problem?

Please show us output of "sa-learn --dump magic", probably ran as the
user amavisd user.

Regards,
    Tom

Attached you find the output of the sa-learn execution. The nine spam E-Mails learned are there because I manually learned a mbox file with spam. As you can see the ham part seems to work.


Hello,

is there anyone who could help me on this or anyone who has the same problem?

Or is it better to ask on the amavis group because SA is called from the amavis process?

Thanks.

Dieter

Reply via email to