How can I override the score for a specific rule in Warden?

To Override a Rule Score

  1. Navigate to Warden -> Rules -> Rule Scores -> Search for the name of the rule you want to edit then click the edit icon.
  2. Enter the new rule score. A score of 0 will disable the rule completely. 
  3. Click the Submit button to save your settings.

Rule Scores

Note: If you only provide the first score then it's always used, no matter the configuration. If you pass four scores, SpamAssassin picks which one to apply based on which features are active for that scan. This allows rule authors tune scores depending on what SpamAssassin knows at runtime.

First score The Bayesian classifier and network tests are not in use.
Second Score The Bayesian classifier is not in use, but the network tests are.
Third Score The Bayesian classifier is in use, but network tests are not.
Fourth Score The Bayesian classifier and network tests are both in use. (used most often)

 

Rule scores

Using the Command Line Interface

See here for the full command line interface. Examples:

// set the score for a specific rule
warden --task=antispam:rules:rulescores --oper=score_edit --name='DCC' --score='3.25' --reload=yes

// disable a specific rule
warden --task=antispam:rules:rulescores --oper=score_edit --name='DCC' --score='0' --reload=yes
  • rules, score
  • 1 gebruikers vonden dit artikel nuttig
Was dit antwoord nuttig?

Gerelateerde artikelen

How can I change the interface language of the extension?

You can change the interface language under Settings -> Application Settings -> Locale...

How can I disable admin email notifications in Amavis?

Amavis has different default options for controlling where virus, spam, banned file attachments,...

How can I whitelist or blacklist a mail server from greylisting?

To Whitelist a Mail Server From Greylisting Navigate to Warden -> Settings ->...

How can I enable third party anti-virus signatures within Warden to improve the ClamAV detection rate?

Warden supports enabling third party anti-virus signatures to improve the detection rate. These...

How can I setup a local caching DNS resolver to speed up DNS queries used by Amavis?

Run the following command to check if local DNS caching is enabled: host -tTXT...