Skip to content

Block or unblock a sender domain

Open Spam AutoShield and choose the mail server whose policy you want to inspect. The master must be on for stored entries to take effect; see the illustrated Spam AutoShield guide.

Spam AutoShield Block Domain form with blank Value, domain-name helper, Current server target and Review summary.

Check legitimate senders before blocking their domain. This blank form has not added an entry. Select the image to enlarge it; use your browser's Back command to return.
  1. Click Add entry and choose Block.
  2. Set Entry type to Domain and enter a domain such as spamdomain.com, without a URL path.
  3. Choose Apply to, review the servers, then click Add blocked entry.
  4. Read every server’s result and refresh the intended list.

To remove the block, filter List and Type, find the exact value, and use Remove on the displayed server. Review its confirmation and result.

A domain block is broader than one address. Check whether legitimate customers use that domain.

From a root terminal on the intended mail server, block a sending domain:

Terminal window
cpfence --add-spam-autoshield-domain spamdomain.com

Remove that same block:

Terminal window
cpfence --del-spam-autoshield-domain spamdomain.com

Replace the example with the actual sending domain, without a URL or path. These commands update this mail server’s policy, not the WebUI’s Apply to selection. Read the result and refresh its domain block list.

Use a domain block when an abusive sender keeps changing addresses on the same domain. Check legitimate mail first; removing this entry does not remove separate address, IP or ASN blocks.