Please enable JavaScript to view this site.

SecurityGateway for Email Servers v10.5

Navigation: Security > Blocklists

Host Blocklist

Scroll Prev Top Next More

Use this blocklist to block or quarantine messages that are being delivered by specific hosts (for example, "mail.example.com"). By default those messages will be refused during the SMTP session, but on the Blocklist Action page you can change this setting so that they will be quarantined instead. The action that will be taken can be set globally and for specific domains, and the Host Blocklist itself can also be set as global or domain specific. Further, although items are typically added to this blocklist one at a time, it has an import feature that makes it possible for you to use a comma separated values (CSV) file to add multiple items at once. Finally, it also has an export feature that will allow you to save the contents of the blocklist to a CSV file.

Adding Hosts to the Blocklist

To add a host to the Host Blocklist, click New on the toolbar at the top of the page. This will open the Blocklist Entry page for adding the host (see below).

Editing a Blocklisted Host

To edit one of the blocklisted hosts, double-click the entry you wish to edit, or select the desired entry and then click Edit on the toolbar at the top of the page. This will open that entry in the Blocklist Entry page.

Deleting a Blocklisted Host

To delete one or more of the blocklisted hosts, select the desired entries and then click Delete on the toolbar at the top of the page. You can select more than one entry by holding down the CTRL key while clicking each one. After clicking Delete, a confirmation box will pop up asking you if you are sure that you would like to delete the selected entries.

Importing Hosts to the Blocklist

To import a list of hosts to the Host Blocklist, click Import on the toolbar at the top of the page. This will open the Import List page.  Use the Browse button on this page to navigate to the CSV file containing the hosts that you wish to import, and then click Import Lists.

CSV File Formats

You can use any text editor such as Notepad to create the CSV file for adding hosts to the blocklists. Simply create the file according to the format below and save it as filename.csv. The first line of each CSV file must be a mapping row, which allows the server to know in what order the data will appear. Each item in this file must be contained in quotes and separated by a comma.

Importing hosts to the Global Blocklist:

The Value column is for the host that you wish to blocklist (e.g. mail.example.com, domain.com, and the like), the Type column should say, "BlockListHostGlobal", and the Comments column is for any notes you may wish to add regarding an entry, for your own reference. The Comments column is optional, but if you include it then use empty quotes for any entry for which you do not include a comment.

Example CSV file:

"Value","Type","Comments"

"example.net","BlockListHostGlobal","This is a comment about the address."

"mail.domain.com","BlockListHostGlobal",""

"smtp.company.mail","BlockListHostGlobal","This is another comment."

Importing hosts to a specific domain's Host Blocklist:

The Domain column is for the domain to which this blocklist belongs. For example, if you are wanting to add hosts to example.com's Host Blocklist, then use "example.com" in the Domain column. The Value column is for the host that you wish to blocklist (e.g. mail.example.com, domain.com, and the like), the Type column should say, "BlockListHostDomain", and the Comments column is for any notes you may wish to add regarding an entry, for your own reference. The Comments column is optional, but if you include it then use empty quotes for any entry for which you do not include a comment.

Example CSV file:

"Domain","Value","Type","Comments"

"example.com","example.net","BlockListHostDomain","This is a comment about the address."

"example.com","mail.domain.com","BlockListHostDomain",""

"example.com","smtp.company.mail","BlockListHostDomain","This is another comment."

Exporting Hosts from the Blocklist

To export a Host Blocklist:

1.In the For Domain: drop-down list box, choose Global or a specific domain.

2.Click Export on the toolbar at the top of the page. This will open the File Download dialog.

3.Click Save.

4.Choose a file name and location for the file.

5.Click Save and then Close.

Blocklist Entry

This page is used for adding new hosts to the blocklist and for editing existing entries. It will be opened whenever you click New or Edit on the Host Blocklist.

List Entry

For Domain:

Use this drop-down list box to add a host to a specific domain's blocklist, or choose Global if you wish to add the host to the global list.

Host:

Enter the host here whose messages you wish to block or quarantine. The settings on the Blocklist Action page determine whether or not the messages will be blocked or quarantined. You can use an asterisk in the host name if you wish to blocklist all hosts of a particular domain. For example, "*.example.org" would block or quarantine all messages coming from any sub-domain of example.org, such as mail.example.org, smtp.example.org, and so on.

Comment:

Use this area for any comments or notes you wish to make about this entry, for your own reference.

Save and Close

When you are finished with the entry, click Save and Close to save the entry to the blocklist.

Close

Click this button if you wish to close the Blocklist Entry page without saving it.