How to Block/Unblock IPs in Spam AutoShield using cPFence Tools?

Manage Sender IPs (WebUI Method)

 

  1. Go to cPFence WebUI ➜ Tools & UtilitiesSpam AutoShield Tools.
  2. Open Block / Unblock IP.
  3. Enter the IPv4/IPv6 address.
  4. Click Block IP to add it to the Spam AutoShield blocklist, or Unblock IP to remove it.
  5. Changes apply immediately to all mail services on the server.

Use this for problematic senders that bypass content filters; unblock once the abuse stops.

Command Line (CLI) Method

  1. SSH into the server.
  2. Block an IP:
    cpfence --add-spam-autoshield-ip 1.2.3.4
  3. Unblock it:
    cpfence --del-spam-autoshield-ip 1.2.3.4

Combine this with ASN or domain blocks for sustained campaigns.


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Using Spam AutoShield to Block Spam by IP, Email, Domain, Subject, or TLD

The Spam AutoShield module in cPFence is designed to give you full control over spam filtering...

How to bulk Activate a WordPress Theme by Slug using cPFence Tools?

Activate Theme by Slug (WebUI Method)   Open cPFence WebUI and select the target server. Go...

How to bulk Clear LiteSpeed Cache using cPFence Tools?

Purge LiteSpeed Cache (WebUI Method)   Open the cPFence WebUI and select the desired server....

How to bulk Configure the LiteSpeed Plugin using cPFence Tools?

Apply LiteSpeed Presets (WebUI Method)   Open cPFence WebUI and select the relevant server....

How to bulk Create a WordPress User using cPFence Tools?

Create WP User (WebUI Method)   Log into cPFence WebUI, pick the server, and open Tools &...