Which type of computer processing is used to filter spam from email?

Modern spam filters use machine learning and AI combined with rule-based scanning, sender reputation checks, and content analysis.