-
Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager.
-
Expand the Global Settings container, right-click the Message Delivery object, and then click Properties.
-
Select the Connection Filtering tab.
-
To create a connection filter rule, click Add.
-
In Display Name, type a name for the connection filter.
-
In DNS Suffix of provider, enter the DNS suffix of the provider, for example, contoso.com.
-
In Custom Error Message to Return, if desired, type a custom error message to return to the sender. Leave this field blank to use the following default error message:
<IP address> has been blocked by <Connection Filter Rule Name>
A custom message can be generated using the following variables:
%0 – connecting IP address
%1 – rule name of the Connection Filter
%2 – the RBL provider
For example, if you want your custom message to read:
The IP address <IP address> has been blocked by the following RBL provider
<RBL provider name>
You would enter the following in the custom error message:
The IP address %0 was rejected by RBL provider %2.
Note: |
|---|
|
Exchange will replace %0 with the connecting IP address and %2 with the RBL provider.
|
-
To configure which return status codes received from the RBL provider you want to match in this connection filter, click Return Status Code.
-
Select one of the following options:
Click Match Filter Rule to Any Return Code. This connection filter rule is matched to any return status code received from the provider service. This sets the default value that matches the connection filter to any return status.
Example:
127.0.0.1 – Blocklist
127.0.0.2 – Known Open Relay
127.0.0.4 – DialUp IP Address
Click Match Connection Filter to the Following Mask. This connection filter rule is matched to return status codes received from the provider by using a mask to interpret them. Enter the mask you want to filter against according to the masks used by your providers.
Example:
0000 | 0001 – Blocklist
0000 | 0010 – Open Relay
0000 | 0011 – Open relay or Blocklist
0000 | 0100 – Dialup host
0000 | 0101 – Dialup or Blocklist
0000 | 0110 – Dialup or Openrelay
0000 | 0111 – Dialup, Openrelay, or Blocklist
Click Match Filter Rule to Any of the Following Responses. This connection filter rule is matched to returned status codes received from the provider by using the specific values of the return status codes.
-
Click OK.