Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon AntiSpam > Archive > Reset Bayesian database / spam filter updates

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon AntiSpam  / Archive  /

Reset Bayesian database / spam filter updates

[Silveira, Scott]
Scott Silveira
Newbie
Newbie
Posts: 15
Scott Silveira - 12:53pm, Dec 14 2021

Currently, there are 2 issues affecting our email servers.

1) I attempted to reset the bayesian database because I was concerned it was not accurate. I renamed the bayes_seen, bayes_tokens, and bayes_journal files to .old. I then performed a spam filter learning on over 200 messages. The bayes_seen and bayes_tokens files got recreated, but not the bayes_journal.

I reset the spam filter, and even rebooted the server, but we are no longer getting bayesian scores in our spam filtering.

What is the appropriate method to reset the bayesian database? or, how can I fix what I have apparently messed up?

2) Since Friday 12/3/21, we have been getting spam filter update failures. This is happening on two different unrelated servers. We did install v21.5 before this, and did also succeed on spam filter updates on the new version.

The error line is:
Fri 2021-12-03 14:28:03.817: * Running SA-UPDATE...
Fri 2021-12-03 14:28:13.670: * Errors occurred while attempting to download and extract updates. Exit code 4

I believe the two issues to be unrelated, since bayesian scoring was working for a few days after the spam filter update failure, and, spam filter updating has failed on a totally separate server.

Thanks for any help you can provide.

  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Arron Caruth - Dec 14, 2021 1:07 pm (#1 Total: 2)  

Guest User  

Photo of Author
Posts: 1
1. Its ok for the Journal file to not exist.  It is a temporary file that is used to avoid lock contention on the main database. 

My guess is that while you have fed 200 spam and 200 nonspam messages into the system, it probably has not learned from all of them.  You can check to see how many messages it has learned from by running SA-Learn with the --dump magic parameter.

Complete instructions can be found here:


2. There are a couple of ways to address this.  You can wait for MD 21.5.1 to be released, which will be later today, or you can add the following environment variable to the system.

PERL_LWP_SSL_VERIFY_HOSTNAME=0
--
Arron Caruth
Vice President of Product Development
o: 817-601-3222    e: Arron.Caruth@mdaemon.com

MDaemon Technologies
Simple Secure Email

Visit us on www.mdaemon.com | Facebook | LinkedIn | YouTube
Sent using the MDaemon Email Server

On Tue, 14 Dec 2021 12:53:13 -0500, "lists-md-anti-spam@mdaemon.com (Scott Silveira)" <lists-md-anti-spam@mdaemon.com> wrote:
Currently, there are 2 issues affecting our email servers.

1) I attempted to reset the bayesian database because I was concerned it was not accurate. I renamed the bayes_seen, bayes_tokens, and bayes_journal files to .old. I then performed a spam filter learning on over 200 messages. The bayes_seen and bayes_tokens files got recreated, but not the bayes_journal.

I reset the spam filter, and even rebooted the server, but we are no longer getting bayesian scores in our spam filtering.

What is the appropriate method to reset the bayesian database? or, how can I fix what I have apparently messed up?

2) Since Friday 12/3/21, we have been getting spam filter update failures. This is happening on two different unrelated servers. We did install v21.5 before this, and did also succeed on spam filter updates on the new version.

The error line is:
Fri 2021-12-03 14:28:03.817: * Running SA-UPDATE...
Fri 2021-12-03 14:28:13.670: * Errors occurred while attempting to download and extract updates. Exit code 4

I believe the two issues to be unrelated, since bayesian scoring was working for a few days after the spam filter update failure, and, spam filter updating has failed on a totally separate server.

Thanks for any help you can provide.


View/reply at Reset Bayesian database / spam filter updates
--MD-ANTI-SPAM-------------------------------------------------------
This list is for questions and discussions about preventing SPAM 
using MDAEMON. To unsubscribe from this mailing list send an email to 
md-anti-spam-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user 
support and discussion.  MDaemon staff members may participate in the 
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical 
support please use the form here:
http://www.mdaemon.com/Support/RequestSupport/
---------------------------------------------------------------------

--MD-ANTI-SPAM-------------------------------------------------------
This list is for questions and discussions about preventing SPAM
using MDAEMON. To unsubscribe from this mailing list send an email to
md-anti-spam-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion.  MDaemon staff members may participate in the
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical
support please use the form here:
http://www.mdaemon.com/Support/RequestSupport/
---------------------------------------------------------------------

Scott Silveira - Dec 16, 2021 2:27 pm (#2 Total: 2)  

 

Photo of Author
Scott Silveira
Newbie
Newbie
Posts: 15
1) I did not have 200 of each message class learned, but I do now, and the problem has been resolved: we are getting bayesian scoring in the spam filter results.

2) I upgraded one of our spam filter update fail servers, and it succeeded updating the spam filter, problem resolved.

Thank you very much for your assistance!



  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



 Content:

Read New | Search

 Guest:

Email to Admin



You are visiting as a Guest user.