Our Blog

How to Use MailScanner in DirectAdmin (Spam Filters)

Sep 01, 2021

How to Use MailScanner in DirectAdmin (Spam Filters)

Follow these simple steps to use MailScanner in DirectAdmin for your spam filters:

 

1. Log in to your DirectAdmin account. For instructions on how to log in to your DirectAdmin account, please click here.

Screenshot: DirectAdmin Login Screen

 

2. Once logged in, under Extra Features, click on the ConfigServerMSFE icon. Alternatively, you can enter ‘ConfigServerMSFE’ in the search bar at the top of the page.

Screenshot: Search Bar at the Top of the Control Panel
Screenshot: Extra Features Section at the Top of the Control Panel

 

3. You will be presented with the MailScanner interface.

Screenshot: ConfigServer MailScanner Front-End

 

 

MailControl

 

MailControl contains your email traffic for any email that has been sent or received by your account.

 

1. You will be presented with the following screen:

Screenshot: MailControl Section of ConfigServer MailScanner Front-End

All email entries will be displayed here and marked with the corresponding status of each email in these colours.

Screenshot: Blue = No Scan, Green = Clean, Yellow = Low Spam, Orange = High Spam, Red = Infected, White = Whitelist, Black = Blacklist

 

2. If you are looking for a specific email, you can utilise the search function and parameters. To do this, click the Menu button, which will give a drop-down list of settings.

Screenshot: Menu Bar to Use the Search Function and Parameters

 

3. Click Search Messages to bring up options to add in search parameters.

Screenshot: Form to Add in Search Parameters

 

4. The search parameters default with the parameter ‘Subject’ and the condition ‘CONTAINS’ with the value field being empty.

The Parameter field can be changed to the following options:

Parameter Options: Subject, From Address, To Address, From Domain, To Domain, Date (YYYY-MM-DD), SpamAssassin Score, Size (Bytes), SpamAssassin Rule, Infection, Client IP, All Headers

The condition field can be changed to the following options:

Condition Options: Contains, Not Contains, Equals, Not Equals, From (>=), To (<=), RegExp, Not RegExp

The last field is the value you want to search for based on your parameter and conditions.

 

5. For example, if you were to search for emails sent from the email address ‘admin@example.com’ you would set the parameter to ‘From Address’, the condition to ‘CONTAINS’ and the value field to ‘admin@example.com’.

Screenshot: Example Showing 'From Address', 'Contains', 'admin@example.com'

 

6. Click the Search button to filter out all emails received from the email address admin@example.com.

You can also add multiple parameters to your search using the [+] icon

For example, the below image will filter emails sent from ‘admin@example.com’ to ‘sales@example.com’.

Screenshot: Example Showing 'From Address', 'Contains', 'admin@example.com' and 'To Address', 'Contains', 'sales@example.com'

 

 

Email Black/Whitelist settings

 

Email Black/Whitelist settings allow you to whitelist or blacklist email addresses, domains or top-level domains (such as .au/.ru/.org and so on).

 

1. You will be presented with the following screen:

Screenshot: Email Black/Whitelist Settings Section of ConfigServer MailScanner Front-End

On the left, you can add in your whitelists and on the right, you can add in your blacklists.

Allowed Formats: *@domain.tld, name@domain.tld, @.tld or IP/CIDR. Only one entry per line.

 

2. For example, if you wanted to whitelist the email address ‘admin@examples.com’ and any email address with the domain name ‘example2.com’, then your whitelist section would look like this:

Screenshot: Spam Whitelist Form with Examples 'admin@examples.com' and '*@example2.com'

The * is a wildcard symbol, meaning it takes the place of the text of anything before the ‘@’ symbol in this scenario.

 

3. For example, if you wanted to blacklist any domains with the top-level domain ‘.au’ (domain names ending in .au), then your blacklist section would look like this:

Screenshot: Spam Blacklist Form with Example '*@*.au'

In this scenario, the * symbol is used twice, meaning any text before and after the ‘@’ symbol and before the ‘.au’ will be blacklisted.

 

 

Other settings

 

Other settings allow you to modify the aesthetics of the application and adjust your spam score threshold settings.

 

1. You will be presented with the following screen:

Screenshot: Other Settings Section of ConfigServer MailScanner Front-End

The number of rows to show in the main table: This displays the number of emails within your control panel, as discussed under MailControl.

Table background palette: This allows you to adjust the colour associated with the status of an email, as discussed under MailControl.

Low scoring spam setting: This setting allows you to set the lower end threshold to define which emails are classified as spam. If you want to increase leniency and let more emails through, you can increase the number. If you want less spam to come through, you must decrease the number.

For example, if you have your low scoring spam set to 5, any emails marked with a score of 5 and higher will be marked as low scoring spam. Any emails marked 4.99 and lower will not be classified as low scoring spam.

High scoring spam setting: This setting allows you to set the end threshold to define which emails are classified as high scoring spam. If you want to increase leniency and make the threshold higher, you must increase the number.

 

 

Additional Settings

 

When you first access the control panel, you will also see the options below:

Screenshot: Change All Domain Settings Section (Spam Scanning, Virus Scanning, Deliver Cleaned Emails, Low Scoring Spam and High Scoring Spam)

Here you can set the outcome for emails classed as low scoring spam and high scoring spam. You can choose to have these emails deleted off the server or delivered to the intended recipient.

DreamIT Host
Leave a comment