Importing or exporting a blocked list

Prev Next

On the Blocked List page, you can import the rules that you defined on a blocked list to your appliance from a single ASCII text or CSV file.

The ASCII text or CSV file must start with the value of 2, which identifies a blocked list as the policy type.

Each rule type is identified by a value from 0 to 5, and the rule information must not contain spaces.

The rule information follows the rule type.

Enter rules in the following CSV file format:

Policy_Type,Rule_Type,Rule_Information,Rule_Type,Rule_Information,Rule_Type,Rule_Information,Rule_Type,Rule_Information,Rule_Type,Rule_Information

Rule types are described in the following table.

Value

Rule type

Rule information

0

Sender Email Address

The email address of the sender.

1

Sender Domain

The domain of the sender.

2

Sender IP Address

The IP address of the sender.

4

URL

The URL.

5

MD5sum

The MD5 checksum of the attachment.

Note

When you import the URL rule on a blocked list from a CSV file, you must use a backslash (\) to escape a comma (,) in the URL rule. For example, if the URL is https://www.google.com.pk/?gws_rd=cr,ssl&ei=08hBVaHUBMr9aIbugKgp you would enter https://www.google.com.pk/?gws_rd=cr\,ssl&ei=08hBVaHUBMr9aIbugKgp in the URL rule.

The following text is an example of a valid blocked_list.txt file:

2,0,abc@virus\.com,1,nodomain\.net,2,44\.33\.33\.44,4,http://www.mai-tumai.com,5,85303dc14afd9e0030dafed14aa41ba9

You can export a copy of the blocked list from the appliance. When you import or export a blocked list, all previous rules that you defined for a blocked list will be overwritten by the new rules.

Note

You can import or export a blocked list file only using the Web UI.

Prerequisites

  • Create an ASCII text or CSV file that contains the rules on a blocked list. The file must be accessible from your local machine from which you access the Web UI.

  • Administrator or Operator access to the Email Security - Server appliance

  • Perform export and import of blocked lists between the EX 3400, EX 5400, EX 8400, EX 8420 appliances and the EX 3500, EX 5500, EX 8500 appliances. Import into the EX 3300, EX 5300, and EX 8300 appliances is not supported.