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.

Was this answer helpful?

 Print this Article

Also Read

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 remove a user from a password-protected folder?

Make sure you're in the User Panel (click on User Panel, and then click on the domain with...

Where do I put my files at?

DirectAdmin arranges the folders inside your home directory based on domain name. For example,...

How do I create a mailing list 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 login to DirectAdmin?

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

Powered by WHMCompleteSolution