[SOLVED] Changing Bayes Configuration

utkonos

Active Member
Apr 11, 2022
149
37
33
After whatever period of time was needed for the system to be populated with data, the Bayes filter has started appearing in the scoring calculus as BAYES_00 and others. This has been throwing quite large negative scores on messages that would otherwise have scored above thresholds that I am interested in having quarantined or blocked. Therefore I have a few questions.

1) How to disable Bayes from being included in the scoring totals? I see "Use Bayesian filter" under Configuration > Spam Detector > Options > Use Bayesian filter. Is this the correct location to just disable it all until I can figure out the following questions?

2) How do I manually, correctly flush the data from the Bayes system?

3) What is the process for manually populating the Bayes system with emails that I am already 100% confident are unwanted for various reasons: spam, phishing, 419, etc?

4) Is it possible for the Bayes scoring based on my manual population process to be used in the scoring without whatever automatic process has been populating the data for me? Basically, can I just periodically populate manually and prevent any automatic processes?

5) Is there a way to have multiple, separate Bayes scoring systems? The reason I ask is that would it not be better to have pools of emails "phishing", "marketing", "sales emails", 419, etc? And then have each separate Bayes system returning a separate score?

6) Can Bayes be configured to only provide positive numbers and drop negative numbers?
 
Last edited:
1) How to disable Bayes from being included in the scoring totals? I see "Use Bayesian filter" under Configuration > Spam Detector > Options > Use Bayesian filter. Is this the correct location to just disable it all until I can figure out the following questions?
yes that disables bayes

i guess most of the other questions are answered in the spamassassin docs https://cwiki.apache.org/confluence/display/spamassassin/BayesInSpamAssassin
and https://cwiki.apache.org/confluence/display/SPAMASSASSIN/BayesFaq

in general, if you don't have a massive amount of good/bad mails that you can train the bayes db with, don't use it. we'll probably even disable it by default in the next major release of pmg since
it makes problems more often that not
 
  • Like
Reactions: utkonos

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!