How to obtain a DebugView log file from Symantec Mail Security for Microsoft Exchange 6.x for Microsoft Exchange 2007 or 2010 transport agents

Article:TECH88928  |  Created: 2008-01-01  |  Updated: 2013-02-13  |  Article URL http://www.symantec.com/docs/TECH88928
Article Type
Technical Solution


Problem



A Symantec Mail Security for Microsoft Exchange (SMSMSE) support agent has requested a DebugView log file for the Exchange 2007 or 2010 transport agents used by SMSMSE 6.x.


Solution



To obtain a DebugView log file you must perform the following actions:

  1. Setup DebugView
  2. Enable logging
  3. Capture the DebugView data


Setup DebugView
DebugView is a monitoring program that allows you to monitor debug output on your local computer. You can download DebugView from this Microsoft Web site, http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx. Symantec does not support or provides warranty to this program. Symantec makes no guarantee or promise of suitability or compatibility of DebugView with your computer.

  1. Download and install DebugView.
  2. Open DebugView.
  3. Click Options. Check Clock Time and Show Milliseconds.
  4. Click File. Click Log to File.
  5. In the Log File text box, type:

    c:\dbgview.log
  6. Click Limit Log Size.
  7. In the Max Log Size (MB) text box, type the desired size for your log file.
  8. Click OK.
  9. Click Capture. Check Capture Global Win32 and Capture Win32.


Enable logging
To enable the proper logging elements, you must make some changes in your Windows registry.

  1. Open the Registry Editor.
  2. Browse to the following registry key:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Symantec\SMSMSE\<version>\Server
  3. Create a new DWORD value called CMDDebugEnabled.
  4. Set the value to 1.
  5. Browse to the following registry key:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Symantec\SMSMSE\<version>\Server\Components\SMTP
  6. Create a new DWORD value called TransportAgentDebugOutput
  7. Set the value to 1.
  8. Close the Registry Editor.
  9. Stop the following services:
    • Microsoft Exchange Transport
    • Symantec Mail Security for Microsoft Exchange
    • Symantec Mail Security Utility
  10. Restart the services above.


Capture the DebugView log file

  1. Turn on Capture in DebugView.
  2. Reproduce the problem.
  3. Once the data has been captured in the log file, turn off Capture in DebugView.
  4. Submit the file in the manner requested by your agent.
  5. Open the Registry Editor and browse to the following registry key:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Symantec\SMSMSE\<version>\Server
  6. In the right pane, double-click the CMDDebugEnabled value.
  7. Set the Value data to 0.
  8. Browse to the following registry key:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Symantec\SMSMSE\<version>\Server\Components\SMTP
  9. In the right pane, double-click the TransportAgentDebugOutput value.
  10. Set the value data to 0.
  11. Restart the following services:
    • Microsoft Exchange Transport
    • Symantec Mail Security for Microsoft Exchange
    • Symantec Mail Security Utility




References
This document includes information about testing Symantec Premium AntiSpam: 'Testing mail flow and spam detection for Symantec products with AntiSpam'

 





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


Terms of use for this information are found in Legal Notices