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.
- Click Add entry and choose Block.
- Set Entry type to Domain and enter a domain such as
spamdomain.com, without a URL path. - Choose Apply to, review the servers, then click Add blocked entry.
- 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.
Command-line method
Section titled “Command-line method”From a root terminal on the intended mail server, block a sending domain:
cpfence --add-spam-autoshield-domain spamdomain.comRemove that same block:
cpfence --del-spam-autoshield-domain spamdomain.comReplace 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.

