How does the system detect spam? The system identifies and blocks spam mail using: Check the source that sends the mail, check the contents of the mail, check the types of attachments, identify viruses attached to the mail.