HP VPN Firewall Appliances Attack Protection Command Reference

96
Default command level
2: System level
Parameters
policy-name: Specifies the name of the SMTP filtering policy, a case-sensitive string of 1 to 32 characters.
The SMTP filtering policy must already exist.
Usage guidelines
This command enables SMTP content filtering based on the SMTP filtering policy.
Examples
# Apply an SMTP filtering policy SMTPBanned to the content filtering policy template StrictRule.
<Sysname> system-view
[Sysname] content-filtering policy-template StrictRule
[Sysname-contflt-policy-template-StrictRule] smtp-policy SMTPBanned
Related commands
content-filtering smtp-policy
subject-filtering keyword-entry
Use subject-filtering keyword-entry to specify a keyword filtering entry for subject filtering.
Use undo subject-filtering keyword-entry to remove a keyword filtering entry for subject filtering.
Syntax
subject-filtering keyword-entry keyword-entry-name
undo subject-filtering keyword-entry keyword-entry-name
Default
No keyword filtering entry is specified for subject filtering.
Views
POP3 filtering policy view, SMTP filtering policy view
Default command level
2: System level
Parameters
keyword-entry-name: Specifies the name of the keyword filtering entry for subject filtering, a
case-sensitive string of 1 to 32 characters. The keyword filtering entry must already exist.
Usage guidelines
You can specify multiple keyword filtering entries for subject filtering.
Examples
# Create a keyword filtering entry Job and add a keyword recruitment to the entry.
<Sysname> system-view
[Sysname] content-filtering keyword-entry Job
[Sysname-contflt-keyword-WordofGame] keyword fix-string recruitment
[Sysname-contflt-keyword-WordofGame] quit
# Apply the keyword filtering entry Job for subject filtering in the SMTP filtering policy SMTPBanned.