Skip to main content
Version: 0.16

Spam filter

Spam filtering is an essential component of any modern mail server, designed to identify and segregate unsolicited or potentially harmful messages from the legitimate mail flow. Unsolicited messages (spam) clutter mailboxes and can pose significant security risks; efficient spam filtering ensures that genuine messages reach their recipients while unwanted or malicious ones are quarantined or discarded.

Stalwart includes a built-in spam and phishing filter implemented as a collection of Sieve scripts. Administrators can modify or extend these scripts to suit their deployment.

See the Spam and Phishing filter section for details on the filter's rules, training, and tuning.