How can I filter and block specific email addresses or domains in cPanel?

By Spiderz • October 4, 2023

To block specific email addresses or domains use Global Email Filters in cPanel.

Login to your cPanel account. Under the “Email” section, select “Global Email Filters”. Click on “Create a New Filter”. Set up your filter rules.

As an example, to block an email address, use “From” with “Equals” and then provide the email you want to block. Under “Actions”, select “Discard Message” or another appropriate action and then click “Create”.

To block an entire domain use “From” with “Contains” and then provide the domain you want to block. Select “Discard Message” under “Actions” to get rid of all emails that domain sends to you.

Besides using global email filters in cPanel, you may also use email filters that apply filtering to individual user mailboxes. Alternatively use your cPanel spam filter blacklist to block emails from unwanted senders and domains.

Good to Know: Global filters affect all email accounts on your domain. Ensure you double-check your rules to avoid unintentionally blocking legitimate emails.

Founded in Dubai in 2002, Spiderz is an enterprising, family-run web and software services company. We work with businesses across the UAE to design, build, and support a wide range of applications and systems in AI, cloud, e-commerce, and web technologies, along with digital media and branding.

Back to the Blog