Please enable JavaScript to view this site.

SecurityGateway for Email Servers v8.5

Navigation: Security > Blacklists

IP Blacklist

Scroll Prev Top Next More

Use this blacklist to block or quarantine messages that are being delivered by a specific IP address (e.g. "1.2.3.4," "192.168.0.1," and so on). By default those messages will be refused during the SMTP session, but on the Blacklist 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 IP Blacklist itself can also be set as global or domain specific. Further, although items are typically added to this blacklist 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 blacklist to a CSV file.

Adding IPs to the Blacklist

To add an IP address to the IP Blacklist, click New on the toolbar at the top of the page. This will open the Blacklist Entry page for adding the  IP address (see below).

Editing a Blacklisted IP Address

To edit one of the blacklisted IP addresses, 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 Blacklist Entry page.

Deleting a Blacklisted IP Address

To delete one or more of the blacklisted IP addresses, 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 IP Addresses to the Blacklist

To import a list of IP addresses to the IP Blacklist, 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 IP addresses 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 IP addresses to the blacklists. 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 IP addresses to the Global Blacklist:

The Value column is for the IP address that you wish to blacklist (CIDR notation and *, ?, and # wildcards are all supported), the Type column should say, "BlackListIPGlobal", 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"

"1.2.3.4","BlackListIPGlobal","This is a comment about the address."

"1.1.1.1","BlackListIPGlobal",""

"192.168.*.*","BlackListIPGlobal","This is another comment."

Importing IP addresses to a specific domain's IP Blacklist:

The Domain column is for the domain to which this blacklist belongs. For example, if you are wanting to add IP addresses to example.com's IP Blacklist, then use "example.com" in the Domain column. The Value column is for the IP address that you wish to blacklist (CIDR notation and *, ?, and # wildcards are all supported), the Type column should say, "BlackListIPDomain", 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","1.2.3.4","BlackListIPDomain","This is a comment about the address."

"example.com","1.1.1.1","BlackListIPDomain",""

"example.com","192.168.*.*","BlackListIPDomain","This is another comment."

Exporting IP Addresses from the Blacklist

To export an IP Blacklist:

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.

Blacklist Entry

This page is used for adding new IP addresses to the blacklist and for editing existing entries. It will be opened whenever you click New or Edit on the IP Blacklist.

List Entry

For Domain:

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

IP Address:

Enter the IP address here whose messages you wish to block or quarantine. The settings on the Blacklist Action page determine whether or not the messages will be blocked or quarantined. CIDR notation is permitted, and you can use the wildcards: *, ?, and # to blacklist blocks of addresses with a single entry.

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 blacklist.

Close

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