This commit is contained in:
Zhang Huangbin 2020-07-29 11:15:24 +08:00
parent 48e0b4669f
commit c158455350
2 changed files with 18 additions and 8 deletions

View File

@ -2,6 +2,11 @@
[TOC]
!!! warning
The bayesian classifier can only score new messages after it already learn
200 known spams and 200 known hams.
## Summary
This article will guide you to configure related components to store
@ -23,12 +28,12 @@ Notes:
* This article should work with all backends: OpenLDAP, MySQL, MariaDB, PostgreSQL. We take MySQL backend for example.
* This article should work with Amavisd-new-2.6.0 and later versions.
__IMPORTANT NOTE__:
__IMPORTANT NOTES__:
* The bayesian classifier can only score new messages if it already has 200
known spams and 200 known hams.
* The bayesian classifier can only score new messages after it already learn
known spams and 200 known hams.
* If Spamassassin fails to identify a spam, teach it so it can do better next
time. e.g. Mark it as spam in roundcube webmail.
time. e.g. Mark it as spam in roundcube webmail.
* Read `References` section at the end of this article before asking questions.
## Create required SQL database used to store bayes data

View File

@ -29,6 +29,11 @@
</li>
</ul>
</div>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>The bayesian classifier can only score new messages after it already learn
200 known spams and 200 known hams.</p>
</div>
<h2 id="summary">Summary</h2>
<p>This article will guide you to configure related components to store
SpamAssassin Bayes data in SQL server, and allow webmail users to report spam
@ -48,12 +53,12 @@ with one click.</p>
<li>This article should work with all backends: OpenLDAP, MySQL, MariaDB, PostgreSQL. We take MySQL backend for example.</li>
<li>This article should work with Amavisd-new-2.6.0 and later versions.</li>
</ul>
<p><strong>IMPORTANT NOTE</strong>:</p>
<p><strong>IMPORTANT NOTES</strong>:</p>
<ul>
<li>The bayesian classifier can only score new messages if it already has 200
known spams and 200 known hams.</li>
<li>The bayesian classifier can only score new messages after it already learn
known spams and 200 known hams.</li>
<li>If Spamassassin fails to identify a spam, teach it so it can do better next
time. e.g. Mark it as spam in roundcube webmail.</li>
time. e.g. Mark it as spam in roundcube webmail.</li>
<li>Read <code>References</code> section at the end of this article before asking questions.</li>
</ul>
<h2 id="create-required-sql-database-used-to-store-bayes-data">Create required SQL database used to store bayes data</h2>