Frequently Asked Questions

FAQ / DirectAdmin

How to Filter Spam Emails in DirectAdmin?

Filtering spam emails in DirectAdmin allows you to manage your inbox by automatically sorting, deleting, or forwarding spam emails based on specific criteria. Here s how you can set up email filters in DirectAdmin. Here is a Step-by-Step Guide:

Log in to DirectAdmin:

  • Open your web browser and navigate to your DirectAdmin login page.
  • Enter your username and password to log in.

Navigate to the Email Filters Section:

  • From the main dashboard, go to User Level if you re not already there.
  • Click on SPAM Filters or Email Filters under the E-Mail Management section.

Create a New Filter:

  • In the Email Filters section, look for an option like Add Filter or Create New Filter.

Configure the Filter:

You will need to set the criteria for the filter and the action to be taken when an email matches the criteria. The following are common fields you might need to fill in:

  • Filter Name: Give your filter a descriptive name.
  • Criteria: Set the conditions for the filter. You can filter emails based on several criteria such as:
  • Subject: Filter emails with specific words in the subject line.
  • From: Filter emails from specific email addresses or domains.
  • To: Filter emails sent to specific email addresses.
  • Contains: Filter emails that contain specific words in the body or headers.
  • Action: Define what action to take when an email matches the criteria. Common actions include:
  • Move to Folder: Automatically move the email to a specified folder.
  • Delete: Automatically delete the email.
  • Forward: Forward the email to another email address.
  • Mark as Read: Mark the email as read.
  • Send to Spam Folder: Move the email to the spam/junk folder.

Save the Filter:

  • After configuring the criteria and action, click on Save or Create to activate the filter.

Verify the Filter:

  • Test the filter by sending an email that matches the criteria to ensure it s working as expected.

Example:

Suppose you want to create a filter that moves all emails from a specific email address (e.g., [email protected]) to a folder called Newsletters:

    Step 1: Log in to DirectAdmin.

    Step 2: Navigate to Email Filters under E-Mail Management.

    Step 3: Click Add Filter.

    Step 4: Configure the filter:

    Filter Name: Newsletters

    Criteria: From contains [email protected]

    Action: Move to folder Newsletters

    Step 5: Save the filter.

    Step 6: Verify by sending an email from [email protected] to see if it moves to the Newsletters folder.

    Additional Notes:

    • Order of Filters: The order in which filters are applied can matter. If you have multiple filters, ensure they are arranged in the correct order to avoid conflicts.
    • Editing and Deleting Filters: You can edit or delete existing filters from the same Email Filters section if needed.
    • Spam Settings: If you are dealing with spam, you might also want to configure your SpamAssassin settings in the SPAM Filters section.

    By following these steps, you can effectively manage your emails in DirectAdmin and ensure that your inbox is organized according to your preferences.