Network & Data Centers Operational (99.98% Uptime) 100% Green Power
Web hosting (DirectAdmin)

Blocking spam with SPAM Filters

Block mail from certain senders or domains, or containing certain words.

Updated on 5 November 2026

Keep getting mail from the same sender or about the same topic? SPAM Filters block it for all your mailboxes at once.

Adding a filter

  1. Go to E-mail Manager → SPAM Filters.
  2. Under Block By, choose what to filter on:
    • E-mail: one sender, for example offers@spammer.example;
    • Domain: every sender from a domain, for example spammer.example;
    • Stop word: mail containing a certain word;
    • Size: mail larger than a certain size.
  3. Enter the Value and click Block.

SPAM Filters in DirectAdmin

What happens to blocked mail

Under Options, choose an Action for filter matches:

  • Drop E-mail: the mail is discarded;
  • Send to spambox: the mail goes to the mailbox's Spam folder, so you can still find it.

When in doubt, choose Send to spambox. You see the Spam folder in webmail and in your email app when you use IMAP. Empty it now and then, or use Purge under E-mail Accounts.

Adult Filter also blocks mail containing common words from adult spam.

Tips

  • Only use stop words that never appear in normal mail. Otherwise you will miss real email.
  • These filters cannot stop spam from constantly changing senders. Use your email app's spam filter as well, and keep your addresses off public websites.
  • Is your own mail ending up in other people's spam? Set up SPF, DKIM and DMARC properly.

More about Web hosting (DirectAdmin)

Still stuck? Create a ticket in the customer panel or call us on 0475 227 400. We are happy to help. Create a ticket →