It is hard to stop spam email entirely but you can filter it, discard it, deliver it to the selected folder, etc.
How to Create a User Level Email Filter
Open the relevant account or settings
-
Log in to your cPanel account.
-
In the Email section, click on Email Filters.
-
Under Filters by Users, you can see all existing email accounts. Click on Manage Filters next to the appropriate one.
Complete the next part of the process
-
Click on Create a New Filter.
-
Enter a name for the filter in the Filter Name input box.
-
You can filter email with many options in the filter rules. If you want to deal with an email containing a word such as Lottery or other words, select Body in the first list box and select Contains in the second one.
Finish the setup and confirm the result
-
From the Actions drop-down menu, select Discard Message.
-
Now click on Create.