Protect email from spam
DirectAdmin provides SpamAssassin and custom spam filters. Initially, mark or move suspected mail to Spam instead of deleting it immediately.
Enable SpamAssassin
- Open Email Manager → SpamAssassin Setup.
- Enable SpamAssassin if it is not active.
- Choose delivery to the Spam folder or add a marker to the subject.
- Save and monitor the results for several days.
Filter sensitivity
A lower score is stricter and may cause more false positives. A higher score is more lenient. A value around 5 is usually a balanced starting point; adjust gradually using real mail.
What to do with spam
- Spam folder: recommended for initial setup.
- Subject marker: useful when the mail client performs filtering.
- Delete: use only after careful testing because the message cannot be recovered.
Custom spam filters
Under Email Manager → SPAM Filters you can block an address, domain, phrase or oversized message. Filters can affect the whole domain, so write rules carefully.
Allowed and blocked senders
Allow-list a trusted sender only when necessary. Do not allow an entire large public domain without review. When blocking a domain, verify that it is not used by customers or suppliers.
A legitimate message went to Spam
- Move it out of Spam.
- Check SpamAssassin settings and custom filters.
- If it repeats, save the complete message including headers.
- Send support the sender, recipient, time and full headers. Never send a password.