How can I enable the policy spam kill level in order to reject mail over a certain score?

How To Reject Spam Over a Certain Score

Warden 4.0 added the options Receive spam and Spam kill level to the move and tag spam policy pages. When Receive spam is set to No it will enable the Spam kill level where a user can set a spam level to reject mail.

Mail will be classified as spammy as potential spam with a score above the spam level but below the spam kill level. Mail will be classified as spam and rejected with a score above the spam kill level. The spam kill level rejection happens at the SMTP level before Postfix accepts the mail so the senders mail server will bounce back the message informing the sender. Spam kill level has the additional benefit that email blacklisted under Settings -> Policy Blacklist will be rejected instead of just marked as spam.

To Enable the Spam Kill Level at the Server Wide Level

Note: The spam kill level can be enabled at the server, domain, or mailbox levels. Policies are hierarchical meaning that each policy inherits values from it's parent unless it is overwritten at the child level (Server level -> Domain level -> Mailbox level). See here for more information.

  1. Navigate to Warden -> Settings -> Content Filter Settings -> Policy Settings  -> Spam Filter -> Set the Receive spam option to No. This will enable the Spam kill level.
  2. Set the Spam kill level to a level above the Spam level. We recommend setting this to 13 to start out with so that only mail that is most definitely spam is rejected.

Spam kill level

Reset Customized Child Policies

After enabling the spam kill level we should reset any child policies that have been customized as their old spam kill level stored in the database might be too low now that we have the spam kill level enabled. Users can go under the policy tab and check the domain policy then press the "Default" button on the grid. This allows users to easily reset polices to their parent settings in bulk.

To reset customized domain policies go to Policies -> Check the domains then press the "Default" button.

Reset Domain Policies

To reset customized mailbox policies go to Policies -> Click on a domain -> Select "All" from the domains select list then press the search button -> Check all the mailboxes then press the "Default" button.

Reset Mailbox Policies

  • spam kill level, reject
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

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,...

Where are the configuration files for Warden located?

Centos/RHEL/CloudLinux/AlmaLinux Configuration files: // amavis (Content Filter Settings)...

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...