SpamAssassin is a mail filter which helps to identify the spam and filters the unwanted messages. It uses various tests and spam filtering methods to recognize spam messages and the tests are applied to email headers and content of the mail. It works for all the email accounts in cPanel and can be configured to delete any spam emails automatically. The following command is used to enable deleting spam messages automatically for the particular e-mail account of demo@example.com.

Command:

spamassassin.exe --update demo@example.com -action del