Tip

Start SMTP logging for troubleshooting

 

Start SMTP logging for troubleshooting
Adesh Rampat

If your users are encountering problems sending Internet mail, try SMTP protocol logging to find out what the problem is. SMTP logging records SMTP conversations in a flat text file. Basic transaction information and the text of the message are stored in a log file. It's a good idea, though, to use this method only for troubleshooting purposes, because SMTP logging takes up a lot of additional storage space and also slows server performance.

Setting up SMTP Logging

  1. Run the Exchange Administrator program.
  2. Select the Connections object.
  3. Double-click on the Internet Mail Service connector and then select the Diagnostics Logging tab.
  4. Under "Category," select SMTP Protocol Log then select "Maximum."
  5. Click OK to close the Internet Mail Service.
  6. Stop and then restart the Internet Mail Service.

Once you believe that you have enough data, stop the Internet Mail Service (obviously, you want to do this when traffic will be light). Then move all of the log files located in the ExchsrvrImcdataLog directory to the folder of your choice, after which you can restart the Internet Mail Service.

You can then study the log to determine where mail sending is going awry.


Adesh Rampat has 10 years experience with network and IT administration. He is a member of the Association Of Internet Professionals, the Institute For Network Professionals,

    Requires Free Membership to View

and the International Webmasters Association. He has also lectured extensively on a variety of topics.


This was first published in April 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.