cPanel email filters can sort or discard messages that match rules you define.
- Log in to cPanel.
- In the Email section, click Email Filters.
- Under Filters by Users, find the email account and click Manage Filters beside it.
- Click Create a New Filter.
- Enter a name in the Filter Name field.
- Set a rule for the messages to match. For example, choose Body as the message part, Contains as the match condition, and enter
Lotteryas the text to match. - Under Actions, select Discard Message to discard matching messages.
- Click Create.
