How do I enable mail filtering in DirectAdmin?

Once logged in, make sure you are in the user panel by clicking on User Level (if you're a reseller), and then click on the domain you want to add a filter to. If you only have one domain on the account, you should be placed directly on a page with a list of options. Click on "SPAM Filters", and then choose one of the options on the page that follows:

  • Block a specific email address: this will block all email coming from the address you specify.
  • Block mail from an entire domain: this will block all email addresses at a specific domain.
  • Block all email containing the word: this will block all email containing the word you specify.
  • Block all e-mail larger than: this will block all email that's larger in size than the number you specify (in kilobytes). This is generally used to block attachments.
  • Enable adult filter: this will prevent email with adult content from getting through.


Once you choose one of the above options and fill out the text box next to it, push Block to make your addition active.

  • 51 Users Found This Useful
Was this answer helpful?

Related Articles

How do I login to DirectAdmin?

To log into DirectAdmin, go to http://www.yourdomain.com:2222/, where yourdomain.com is your...

How do I access Web mail in DirectAdmin?

You can access Web mail by going to http://www.yourdomain.com/squirrelmail/, where yourdomain.com...

How do I add an email account in DirectAdmin?

Once logged in, make sure you are in the user panel by clicking on User Level (if you're a...

How do I set the default address for unrouted mail in my domain?

Once logged in, make sure you are in the user panel by clicking on User Level (if you're a...

How do I add an autoresponder in DirectAdmin?

Once logged in, make sure you are in the user panel by clicking on User Level (if you're a...

Powered by WHMCompleteSolution