1. Websta Hosting
Email & Webmail

Configuring Spam Filters

Configuring Spam Filters

DirectAdmin uses SpamAssassin for spam filtering.

Enable SpamAssassin

  1. Log in to DirectAdmin → Spam Filters.
  2. Enable SpamAssassin.
  3. Set the score threshold (default 5; lower = stricter).
  4. Choose the action: Move to spam folder is recommended.

Whitelist & Blacklist

Add to the SpamAssassin custom rules:

whitelist_from sender@example.com
blacklist_from spammer@badsite.com

Prevent Your Outgoing Mail Being Flagged as Spam

Ensure these DNS records exist for your domain:

  • SPF: TXT @ "v=spf1 include:your-server ~all"
  • DKIM: Auto-generated by DirectAdmin — check DNS Management for a _domainkey record.
  • DMARC: TXT _dmarc "v=DMARC1; p=none; rua=mailto:postmaster@yourdomain.com"

Contact support if your emails are ending up in recipients' spam folders.

Still need help?

If this article didn't answer your question, our support team can help.

Contact support
All articles More in Email & Webmail