Anti-spam filters out junk email by performing legitimacy checks on the IP address of the sender SMTP server. If the IP address is whitelisted, the email from the SMTP server is forwarded. If the IP address is blacklisted, the email is discarded.
You are familiar with the Anti-Spam mechanism.
You can configure the local whitelist, local blacklist, and RBL blacklist on the FW. If all of them are configured, they are matched in the following sequence:
Local whitelist
If a match is found in the local whitelist, the FW considers the email legitimate and forwards the email.
Local blacklist
If no match is found in the local whitelist, the FW continues to compare the source IP address with the local blacklist. If a match is found, the FW considers the email illegitimate and discards the email.
RBL
Huawei does not provide the RBL blacklist query service. A third-party organization provides the RBL blacklist, maintains the RBL in real time, and offers the query service through the RBL server.
If no match is found, the email is permitted. If a match is found, the email is discarded. To speed up the spam detection, you can add the matches found in the RBL to the local blacklist.
You can add the IP addresses of a trusted SMTP server to the local whitelist.
After the local blacklist is configured, if the IP address of a sender SMTP server finds a match in the local blacklist, the email is directly blocked. If you have received junk email from certain SMTP servers or have detected SMTP servers that forward junk email, add the IP addresses of these SMTP servers to the local blacklist. Then the FW directly discards the email from these servers.
Parameter |
Description |
|---|---|
Name |
Name of the mail content filtering profile. The name, which must be unique, is displayed in the parameter list of mail filtering during the configuration of security policies. |
Description |
Description of the mail content filtering profile. The description must clearly indicate the function of the profile to make profiles easy to find and maintain. Example of the profile description: The mail filtering policies for the trust -> dmz interzone. |
The configuration does not take effect immediately after you create or modify the profile. You must click Submit on the upper right of the interface to apply the configuration. To save time, you can commit the configuration after all operations on the profile are complete.
The RBL blacklist helps filter out latest spams. Huawei does not provide the RBL blacklist query service. Before configuring the RBL blacklist, ensure that the DNS server for querying the RBL blacklist is available.
To ensure that the RBL query requests from the FW can be properly forwarded, you need to configure a security policy to permit the DNS traffic from the FW to the zone where the RBL server resides. The security policy should be configured as follows:
As to the DNS server:
Ensure that the DNS server is not hijacked. Otherwise, legitimate email might be regarded as junk email. For how to check whether a DNS server is hijacked, see Certain Email Being Treated As Junk Email.
The DNS server must perform the query in recursive mode. For how to check whether the DNS performs the query in recursive mode, see Certain Email Being Treated As Junk Email.
Configuration files are mutually exclusive, and only one configuration file can be enabled at a time. The last set configuration file is automatically enabled. You can also manually enable or disable a configuration file.
Parameter |
Description |
|---|---|
Name |
Name of the RBL filtering profile. The name must be unique. |
Description |
Description of the RBL filtering profile. |
Server Query Set |
The query set is the RBL service name. It is used to locate the RBL server. You can configure only one query set for a configuration file. For example, you can use sbl.spamhaus.org as the query set. |
Action |
FWAn action that the FW takes after detecting a spam.
|
Reply Code |
Reply codes vary with RBL service providers. For details, contact the RBL service provider.
You can configure up to 16 reply codes in one RBL filtering profile. |
Parameter |
Description |
|---|---|
Name |
Name of the mail content filtering profile. The name, which must be unique, is displayed in the parameter list of mail filtering during the configuration of security policies. |
Description |
Description of the mail content filtering profile. The description must clearly indicate the function of the profile to make profiles easy to find and maintain. Example of the profile description: The mail filtering policies for the trust -> dmz interzone. |
The configuration does not take effect immediately after you create or modify the profile. You must click Submit on the upper right of the interface to apply the configuration. To save time, you can commit the configuration after all operations on the profile are complete.