Our cPanel comes with an anti-spam software called SpamAssassin, which provides spam mail filters.
You can set up spam mail filters in cPanel and automatically detect spam mail with SpamAssassin, as well as customize the conditions for emails to be detected as spam.