Cisco Cisco Email Security Appliance C170 Guia Do Utilizador

Página de 460
 
9-18
Cisco IronPort AsyncOS 7.6 for Email Configuration Guide
OL-25136-01
Chapter 9      Anti-Spam
Using the 
X-Advertisement: spam
 header is the best method to test if your system configuration is 
correctly handling a message that would be considered spam if it were “live.” Use the 
trace
 command 
(see 
Debugging Mail Flow Using Test Messages: Trace, page -446
) or see the following example.
Common pitfalls to avoid while evaluating include:
  •
Evaluating using resent or forwarded mail or cut-and-pasted spam messages
Mail lacking the proper headers, connecting IP, signatures, etc. will result in inaccurate scores.
  •
Testing “hard spam” only
Removing the “easy spam” using SBRS, blacklists, message filters, etc. will result in a lower overall 
catch rate percentage.
  •
Resending spam caught by another anti-spam vendor
  •
Testing older messages
CASE adds and removes rules rapidly based on current threats. Testing using an older collection of 
messages will significantly distort the results.
Example
Use SMTP commands to send a test message with the 
X-advertisement: spam
 header to an address to 
which you have access. Ensure that the mail policy is configured to receive messages for the test address 
(see 
) and 
that the HAT will accept the test connection. 
# telnet IP_address_of_IronPort_Appliance_with_IronPort_Anti-Spam port
220 hostname ESMTP
helo example.com
250 hostname
mail from: <test@example.com>
250 sender <test@example.com> ok
rcpt to: <test@address>
250 recipient <test@address> ok
data
354 go ahead
Subject: Spam Message Test
X-Advertisement: spam
spam test
.