How to Enable or Disable Spam Protection in cPFence?

cPFence provides an option to enable or disable spam protection, giving you control over how spam emails are handled. By default, spam protection is disabled. When enabled, cPFence will automatically quarantine spam emails that may not contain infections or phishing links but are misleading, annoying, or attempting to deceive and blackmail the user.

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is fully mobile-friendly, allowing you to manage your entire cluster from any device—including your phone or tablet. You can enable or disable spam protection across all servers or target a specific server using the dropdown selector on the sidebar.

Managing Spam Protection in the WebUI

 

 

  1. Open the cPFence WebUI on your Main Control Panel server.
  2. Go to: Threat & Malware Detection → Email Protection Settings
  3. Click Enable Spam Protection to activate spam quarantining, or Disable Spam Protection to turn it off.

Note: Turning off email quarantine or spam protection does not fully disable email scanning. Emails will still be scanned and reported, but not quarantined.

If you want to completely disable email scanning on your server, run the following command:

cpfence --exclude-path /var/local/enhance/email/mailboxes

This will fully exclude your mailboxes from cPFence scanning.

See more: Disable email scanning on a single mailbox

Managing Spam Protection via CLI

  • Enable Spam Protection:
cpfence --enable-spam-protection
  • Disable Spam Protection:
cpfence --disable-spam-protection

Once enabled, cPFence will automatically detect and quarantine pure spam emails, helping reduce inbox clutter and enhance user protection.


Need Further Assistance?

If you encounter any issues or need additional help, feel free to reach out to our support team via your client portal.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What Additional Virus Scanners Are Used in cPFence?

cPFence leverages its strong and robust virus scanning database to ensure your server remains...

How to Enable / Disable Malware Real-Time Protection?

This guide provides instructions for managing Malware Real-Time Protection (MRTP), one of the key...

How to Enable/Disable Auto Quarantine in cPFence ?

See also: How to Restore Files from Quarantine The Auto Quarantine feature in cPFence allows...

How to Identify and Restore Files from Quarantine?

When cPFence quarantines a file that you know is clean, it’s important to identify it and restore...

How to Use cPFence Virus Scanner?

cPFence provides various scanning options to detect and manage potential threats. This guide...