You can still get assistance by raising a ticket with our support department should you not be able to find what you are looking for here.

Create custom spam filter rules to block or allow specific email patterns.

Beyond SpamAssassin scoring, DirectAdmin lets you define custom spam filter rules for finer control over incoming mail.

Create a filter rule

  1. Go to Email Manager → SPAM Filters (or Spam Filters under Advanced Features).
  2. Select the domain or mailbox.
  3. Click Add Filter.
  4. Define conditions — match sender, subject, body text, or headers.
  5. Choose an action: discard, move to folder, or mark as spam.
  6. Save the rule.

Example rules

  • Block mail containing specific keywords in the subject.
  • Allow all mail from your company domain.
  • Reject messages from known bad senders.

Test new rules carefully. Overly aggressive filters may block legitimate mail.

← Back to Email Manager