Setting up Antispam

Antispam settings are configured at the security-policy mail-security-antispam level.

To configure antispam settings, use the following command:

Admin@nodename# set security-policy mail-security-antispam <parameters>

Antispam settings:

Parameter

Description

batv-enabled

on/off. Enable/disable BATV (Bounce Address Tag Validation) protection, which prevents spam messages from being sent as bounce messages.

dnsbl-servers

Specifying a list of DNSBL servers for checking SMTP traffic.

dnsbl-black-list

A list of prohibited servers in addition to those listed in DNSBLs. You can add a list by GeoIP, or a list of IP addresses.

dnsbl-white-list

A list of servers excluded from DNSBL check. You can add a list by GeoIP, or a list of IP addresses.

To view antispam settings, use the following command:

Admin@nodename# show security-policy mail-security-antispam <parameters>

You can view all antispam settings (by pressing Enter), or separately the DNSBL white/black lists by specifying the parameters dnsbl-white-list or dnsbl-black-list.

To delete antispam settings, use the following command:

Admin@nodename# delete security-policy mail-security-antispam <parameters>

You can delete DNSBL servers and DNSBL white/black lists.