Testing mail flow and spam detection for Symantec products with AntiSpam

Article:TECH83315  |  Created: 2005-01-11  |  Updated: 2012-05-10  |  Article URL http://www.symantec.com/docs/TECH83315
Article Type
Technical Solution


Issue





Symptoms
You installed a Symantec product and configured the antispam feature. You need to know how to test mail flow and spam detection.

--Symantec Mail Securit;y 5.x for Domino
--Symantec Mail Security 4.x for Domino
--Symantec Mail Security 6.x for Microsoft Exchange

--Symantec Mail Security 5.x for Microsoft Exchange
--Symantec Mail Security 4.6.x for Microsoft Exchange
--Symantec Mail Security 4.5.x for Microsoft Exchange
--Symantec Mail Security 5 for SMTP
--Symantec Mail Secuirty 4.1 for SMTP


Solution



To test the antispam feature of your installed Symantec product send an email from an external source. The email message header must contain at least one of the following conditions to an email message, and send from an external source.

To only test email communiation without testing spam detection please follow the document below to perform a Telnet test.

http://technet.microsoft.com/en-us/library/bb123686.aspx



Technical Information
Telnet is a terminal client used to provide a remote interface to a computer. This enables you to create a session to any text-based protocol and provide information on what is happening in the background. Examples of text-based protocols are SMTP, HTTP, POP, and so forth. A Telnet session enables you to manually send a test email directly from a command interface and determine any errors that may occur during that process.


Configure the Symantec product antispam feature before initiating a telnet session

  • Use a different domain for the MAIL FROM: command than the one where you installed the Symantec product with antispam. For example, if the Symantec product with antispam is installed in a domain called your-domain.com, run Telnet from example.com. This ensures that you do not accidentally bypass the Symantec product with antispam.
  • Substitute the address of your SMTP email relay for server.your-domain.com. This is the computer where the Symantec product with antispam checks for spam. Substitute an email address you can check for @your-domain.com.
  • Substitute the address of the sending computer to example.com. This is the computer where you type the Telnet and SMTP commands.
  • The final SMTP command that you type in Step 2 below is a period on a line by itself followed by pressing Enter.
  • If you start Telnet on a computer that runs Windows XP, type "set localecho" instead of "set Local_Echo".


To send a test message using Telnet

  1. Open a command prompt.
  2. Type the following command to open a telnet session:

    telnet
  3. At the telnet prompt type the command to echo information to the screen:

    set Local_Echo

  4. Type the following command:

    open "hostname or ip address of server"

     
  5. Type the following command:

    helo example.com

    The correct response returned is the following:

    250 OK
  6. Type the following command:

    mail from: test@example.com

    The correct response returned is the following:

    250 OK - mail from
  7. Type the following command:

    rcpt to: oleg@your-domain.com

    The correct response returned is the following:

    250 OK - Recipient
  8. Type the following command:

    data

    The correct response returned is the following:

    354 Enter mail, end with "." on a line by itself.
  9. Type one of the following lines and any additional text desired. End with a CRLF.CRLF

    Subject: Spam Delivery Test
    X-Advertisement: spam
    spam test


    The correct response returned is the following:

    250 OK
    221 Closing Port / Mail queued for delivery
  10. Type the following command:

    Quit

    This quits your telnet session. The above example should be sent and received by your downstream server. Because of the URL in the message, this should be treated as spam. The default action is to prepend [SPAM] to the subject line.


To use any email client, set the outgoing SMTP server to the IP address of the Symantec product antispam server.



Legacy ID



2005041106461554


Article URL http://www.symantec.com/docs/TECH83315


Terms of use for this information are found in Legal Notices