I am getting a lot of spam from someone@spammer.com, can't you block them for me?

If you are getting a lot of spam from the same FROM email address, you can use your email filter to block them.
Firstly, log into cpane, and go to the Email Options.
In there, you will have two options: Global Email Filters or Email Fitlers.

cPanel Email Options

The Global Email Fitlers will allow you to create filter for all inboxes for your domain, whereas the Email Filters let you create filters for individal inboxes.

We will set up a Global Email Filter for all your inboxes in this example.

In the example above, we have created a filter to discard all emails which the FROM header contains the text @spammer.com, in affect filtering out any emails sent from the domain spammer.com.
In cases where the spamming From address is from a public email service such as Gmail, you may want to filter out the full email address instead.
E.g. somespammer@gmail.com.  You can play around with all the options available in cPanel.

After adding the filter, you may want to test it.

Testing your email spam filter

In the above example, change test@localhost to test@spammer.com, and then click "Test Filter".

Spam filter test result

As you can see, the email has been filtered and saved to /dev/null, meaning it has been null routed to nothingness.

This is it.  I will suggest you have a play around with all the different options you can use to filter out spammers.
E.g Any subject which contains "Top 100 in Google" ;)
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Route your domain email to an external server

Sometimes you will want to route your domain email to an external email server such as GMAIL.To...

Enable SMTP AUTH on Mac Mail

This document explains how to enable SMTP Authentication for the Macintosh OS X MAIL email...

I can receive email but having problem sending

All outgoing mail requires SMTP authentication. In Outlook or other email client, please check...

How to set up your domain to use remote MX such as Google App

This article can be used to set up your account to use any external MX.Below we use Google App as...

I am receiving the error 550 Access denied - Invalid HELO name?

To prevent spams, our servers have pop before auth disabled and requires SMTP authentication...