3Com Switch 8800 Family Firewall Module Configuration and Command Reference Guide

140 CHAPTER 9: WEB AND E-MAIL FILTERING
Saving/Loading an E-mail address filtering file
After configuring the E-mail addresses to be filtered, you can save them to an
E-mail address filtering file for later use. You must load an E-mail address filtering
file first to configure or modify items in it.
Perform the following configuration in system view.
You must load the E-mail addresses filtering file for items in it to take effect, that
is, for E-mail addresses that match these items to be filtered.
Configuring E-mail
Subject Filtering
You can also filter outgoing E-mails by their subjects.
Enabling/Disabling E-mail subject filtering
Before configuring E-mail subject filtering for a firewall, you must enable this
function first for related configurations to take effect.
Perform the following configuration in system view.
E-mail subject filtering is disabled by default.
c
CAUTION: You must configure ASPF policies and execute the detect smtp and
detect tcp commands first to enable E-mail subject filtering. Refer to section
“Configuring ASPF” “Configuring ASPF” for information about ASPF.
Configuring a filtering keyword for E-mail subject filtering
E-mails can be filtered according to the filtering keyword items previously
configured in an E-mail subject filtering file. The administrator can manipulate this
kind of files to add or delete E-mail subject filtering keywords in them, or even
clear all the E-mail subject filtering keywords.
Perform the following configuration in system view.
Tabl e 137 Configure an E-mail address to be filtered
Operation Command
Add an E-mail address to be filtered
firewall smtp-filter rcptto add { permit |
deny } mail-address
Delete an E-mail address
firewall smtp-filter rcptto delete
mail-address
Clear all E-mail addresses firewall smtp-filter rcptto clear
Tabl e 138 Save/Load an E-mail address filtering file
Operation Command
Save/Load an E-mail address filtering file
firewall smtp-filter rcptto { save-file |
load-file } file-name
Unload the current E-mail address filtering file undo firewall smtp-filter rcptto load-file
Tabl e 139 Enable E-mail subject filtering
Operation Command
Enable E-mail subject filtering firewall smtp-filter subject enable
Disable E-mail subject filtering undo firewall smtp-filter subject enable