How can I reset and delete all Bayes learning or TxRep reputation data stored in Warden?

Overview

Incorrectly trained Bayes learning or TxRep Reputation data can degrade anti-spam filtering performance and produce inaccurate classification results. To restore optimal functionality, you may need to clear existing training records and initiate a fresh learning cycle. This article provides the procedures for resetting these datasets using both the Warden web interface and the command line interface (CLI).

Prerequisites

  • Administrative access to the Warden management console.
  • Command-line access with appropriate system permissions (required for CLI method).

Reset Training Data via Web Interface

  1. Navigate to Warden > Settings > Database Maintenance.
  2. In the Type dropdown menu, select either Bayes learning or TxRep reputation.
  3. Click the Delete all button to permanently clear the selected dataset.

Database maintenance

Reset Training Data via Command Line Interface

Execute the following commands in your terminal to remove training data directly from the database:

// delete all Bayes data from the database
warden --task=application:maintenance:database --oper=delete_all --type=Bayes

// delete all TxRep data from the database
warden --task=application:maintenance:database --oper=delete_all --type=Txrep

Verification and Expected Results

After clearing the datasets, navigate to the Warden dashboard. The Anti-spam Learning statistics will reset to zero. The system will automatically begin retraining based on your current configuration parameters. Monitor the statistics over the next 24–48 hours to confirm that new data is being processed and classified correctly.

Anti-spam learning statistics

  • bayes, learning, TxRep, reputation
  • 0 Người dùng thấy hữu ích
Câu trả lời này có hữu ích không?

Bài viết liên quan

How can I install or upgrade the extension?

We provide free installation and configuration for all our paid licenses. Open a support ticket...

How can I add stronger Postfix restrictions so that the bulk of spam is rejected at the SMTPD level before it gets processed by Amavis?

Overview Warden enables administrators to enforce stricter Postfix SMTPD restrictions. These...

How can I change the interface language of the extension?

Overview This article provides instructions on how to change the interface language within the...

How can I configure greylisting with Warden Anti-spam and Virus protection?

Overview Greylisting is an email filtering mechanism designed to mitigate spam by temporarily...