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

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