You can get rid of Spam emails by creating blacklists in the cPanel using Spam Assassin. Follow the below steps to create blacklists.
1. Login to your cPanel.
2. Click on Spam Assassin icon.
3. Enable Spam Assassin (if not already enabled).
4. Enter the IP addresses and email addresses you want to block in the blacklist_from field.
5. Click Save to complete.