• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1404
  • Last Modified:

How to turn off SMTP log files?

Hi all,

Sometime in the past while troubleshooting SMTP issues I must have turned on this logging. Now recently we ran out of HD space on our C: drive and I dicovered 20+ gigs of logs located in C:\WINDOWS\system32\LogFiles\SMTPSVC1

Where do I turn this logging off so that I dont have these files generated and clogging my drive?

OS: 2003 SBS with Exchange.
1 Solution
Carol ChisholmCommented:
Right Click on your server in the ESM (System manager).
In Properties choose Disgnostics Logging
Go to MSExchange Transport and change SMTP to None.
However I'd suggest you leave it on in case of problems and just delete logfiles after a fixed time, or better still after archiving them.

Here is how you enable it.. so oppsite to disable.. Unless it gets to the same thing under what carolchi posted but I have always been aware it being on the SMTP protocol section as listed below.

To enable SMTP logging on your SBS open System Manager and navigate to:

Servers > "SERVERNAME" > Protocols > SMTP Right-click the default SMTP virtual server and look on the General Tab. At the bottom is the checkbox for Enable Logging. Once you check the box, select Properties button and you can change the default location for the logging file and other parameters.
Tyson0317Author Commented:
In my case, the logging was enabled where DMTech said. I checked the first location suggested by carolchi and it was already off.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now