ZyXEL ZyWALL USG 20 User Guide - Page 530
Regular Expressions in Black or White List Entries
View all ZyXEL ZyWALL USG 20 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 530 highlights
Chapter 32 Anti-Spam Table 148 Configuration > Anti-X > Anti-Spam > Black/White List > Black List (or White List) > Add LABEL DESCRIPTION Sender or Mail Relay IP Address Netmask Sender E-Mail Address Mail Header Field Name This field displays when you select the IP type. Enter an IP address in dotted decimal notation. This field displays when you select the IP type. Enter the subnet mask here, if applicable. This field displays when you select the E-Mail type. Enter a keyword (up to 63 ASCII characters). See Section 32.4.2 on page 530 for more details. This field displays when you select the Mail Header type. Type the name part of an e-mail header (the part that comes before the colon). Use up to 63 ASCII characters. Field Value Keyword For example, if you want the entry to check the "Received:" header for a specific mail server's domain, enter "Received" here. This field displays when you select the Mail Header type. Type the value part of an e-mail header (the part that comes after the colon). Use up to 63 ASCII characters. For example, if you want the entry to check the "Received:" header for a specific mail server's domain, enter the mail server's domain here. OK Cancel See Section 32.4.2 on page 530 for more details. Click OK to save your changes. Click Cancel to exit this screen without saving your changes. 32.4.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, email 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 email address that ends in def.com matches. So "mail.def.com" matches. • The wildcard can be anywhere in the text string and you can use more than one wildcard. You cannot use two wildcards side by side, there must be other characters between them. • The ZyWALL checks the first header with the name you specified in the entry. So if the e-mail has more than one "Received" header, the ZyWALL checks the first one. 530 ZyWALL USG 20/20W User's Guide