Chapter 36 Anti-Spam
ZyWALL / USG (ZLD) CLI Reference Guide
251
36.2.2.1 White and Black Lists Example
This example shows how to configure and enable a white list entries for e-mails with “testwhite” in
the subject, e-mails from [email protected], e-mails with the Date header set to 2007,
and e-mails from (or forwarded by) IP address 192.168.1.0 with subnet 255.255.255.0.
36.2.2.2 Regular Expressions in Black or White List Entries
The following applies for a black or white list entry based on an e-mail subject, e-mail address, or
e-mail header value.
• Use a question mark (?) to let a single character vary. For example, use “a?c” (without the
quotation marks) to specify abc, acc and so on.
• You can also use a wildcard (*). For example, if you configure *def.com, any e-mail address that
ends in def.com matches. So “mail.def.com” matches.
[no] anti-spam black-list [
rule_number
] e-
{activate|deactivate}
Adds, edits, or removes a black list entry to check e-mail for a
specific source e-mail address or domain name. Also turns the
entry on or off.
[no] anti-spam black-list [
rule_number
] mail-
header
mail-header
mail-header-value
{activate|deactivate}
Adds, edits, or removes a black list entry to check e-mail for
specific header fields and values. Also turns the entry on or off.
[no] anti-spam black-list [
rule_number
]
subject
subject
{activate|deactivate}
Adds, edits, or removes a black list entry to check e-mail for
specific content in the subject line. Also turns the entry on or off.
anti-spam tag black-list [
tag
]
Configures a message or label (up to 15 ASCII characters) to add
to the mail subject of e-mails that match an anti-spam black list
entry.
show anti-spam white-list [status]
Displays the current anti-spam white list. Use
status
to show the
activation status only.
show anti-spam black-list [status]
Displays the current anti-spam black list. Use
status
to show the
activation status only.
show anti-spam tag black-list
Show the configured anti-spam black list tag.
[no] anti-spam xheader {white-list | black-
list}
mail-header
mail-header-value
Specify the name and value for the X-Header to add to e-mails that
match the ZyWALL / USG’s spam white list or black list.
show anti-spam xheader {white-list | black-
list}
Display the name and value for the X-Header to add to e-mails that
match the ZyWALL / USG’s spam white list or black list.
Table 143
Commands for Anti-spam White and Black Lists (continued)
COMMAND
DESCRIPTION
Router(config)# anti-spam white-list subject testwhite activate
Router(config)# anti-spam white-list e-mail [email protected] activate
Router(config)# anti-spam white-list mail-header Date 2007 activate
Router(config)# anti-spam white-list ip-address 192.168.1.0 255.255.255.0 activate
Router(config)# show anti-spam white-list
No. Type Status
Content
==========================================================================
1 subject yes
testwhite
2 e-mail yes
3 mail-header yes
Date : 2007
4 ip-address yes
192.168.1.0 / 255.255.255.0
Содержание ZyWALL USG Series
Страница 19: ...19 PART I Introduction ...
Страница 20: ...20 ...
Страница 38: ...Chapter 2 User and Privilege Modes ZyWALL USG ZLD CLI Reference Guide 38 ...
Страница 39: ...39 PART II Reference ...
Страница 40: ...40 ...
Страница 48: ...Chapter 4 Status ZyWALL USG ZLD CLI Reference Guide 48 ...
Страница 52: ...Chapter 5 Registration ZyWALL USG ZLD CLI Reference Guide 52 ...
Страница 128: ...Chapter 15 Route ZyWALL USG ZLD CLI Reference Guide 128 ...
Страница 136: ...Chapter 17 Zones ZyWALL USG ZLD CLI Reference Guide 136 ...
Страница 140: ...Chapter 18 DDNS ZyWALL USG ZLD CLI Reference Guide 140 ...
Страница 148: ...Chapter 20 HTTP Redirect ZyWALL USG ZLD CLI Reference Guide 148 ...
Страница 152: ...Chapter 21 ALG ZyWALL USG ZLD CLI Reference Guide 152 ...
Страница 156: ...Chapter 22 UPnP ZyWALL USG ZLD CLI Reference Guide 156 ...
Страница 159: ...Chapter 23 IP MAC Binding ZyWALL USG ZLD CLI Reference Guide 159 ...
Страница 178: ...Chapter 25 Secure Policy ZyWALL USG ZLD CLI Reference Guide 178 ...
Страница 218: ...Chapter 32 Application Patrol ZyWALL USG ZLD CLI Reference Guide 218 ...
Страница 236: ...Chapter 34 IDP Commands ZyWALL USG ZLD CLI Reference Guide 236 ...
Страница 246: ...Chapter 35 Content Filtering ZyWALL USG ZLD CLI Reference Guide 246 ...
Страница 256: ...Chapter 36 Anti Spam ZyWALL USG ZLD CLI Reference Guide 256 ...
Страница 262: ...Chapter 37 SSL Inspection ZyWALL USG ZLD CLI Reference Guide 262 ...
Страница 268: ...Chapter 38 Device HA ZyWALL USG ZLD CLI Reference Guide 268 ...
Страница 284: ...Chapter 41 Addresses ZyWALL USG ZLD CLI Reference Guide 284 ...
Страница 288: ...Chapter 42 Services ZyWALL USG ZLD CLI Reference Guide 288 ...
Страница 302: ...Chapter 46 Authentication Server ZyWALL USG ZLD CLI Reference Guide 302 ...
Страница 338: ...Chapter 52 System Remote Management ZyWALL USG ZLD CLI Reference Guide 338 ...
Страница 358: ...Chapter 53 File Manager ZyWALL USG ZLD CLI Reference Guide 358 ...
Страница 372: ...Chapter 56 Session Timeout ZyWALL USG ZLD CLI Reference Guide 372 ...
Страница 374: ...Chapter 57 Diagnostics ZyWALL USG ZLD CLI Reference Guide 374 ...
Страница 384: ...Chapter 59 Maintenance Tools ZyWALL USG ZLD CLI Reference Guide 384 ...
Страница 426: ...List of Commands Alphabetical ZyWALL USG ZLD CLI Reference Guide 426 ...