We have many SMTP logs located on the root of our D drive called, SMTPSVC1.
This is located on one of our front-end mail servers. Currently there are
over 23GB's of files in this directory. I would like to do some clean up to
free up some disk space and wanted to know if it is safe to delete these
logs? Does this have to be a manual process or is there a tool that can run
to check this folder weekly to delete for example the oldest log files?

Thanks,
Dean

Re: SMTP folder too large by Lee

Lee
Wed May 07 17:16:50 CDT 2008

"Dean" <Dean@discussions.microsoft.com> wrote in message
news:61F1F4B3-0745-4BA9-B687-189D48CA30D9@microsoft.com...
> We have many SMTP logs located on the root of our D drive called,
> SMTPSVC1.
> This is located on one of our front-end mail servers. Currently there are
> over 23GB's of files in this directory. I would like to do some clean up
> to
> free up some disk space and wanted to know if it is safe to delete these
> logs? Does this have to be a manual process or is there a tool that can
> run
> to check this folder weekly to delete for example the oldest log files?
>
> Thanks,
> Dean

Yes, you can delete them (manually in Explorer) if you don't think you are
going to need them. It sounds like you don't. If you've no use for them,
turn off SMTP logging.

Lee.

--
_______________________________________

Outlook Web Access for PDA, OWA For WAP:
www.leederbyshire.com
________________________________________



Re: SMTP folder too large by Martin

Martin
Wed May 07 17:23:02 CDT 2008


"Lee Derbyshire [MVP]" <email a@t leederbyshire d.0.t c.0.m> wrote in
message news:eDyqNAJsIHA.3420@TK2MSFTNGP04.phx.gbl...
> "Dean" <Dean@discussions.microsoft.com> wrote in message
> news:61F1F4B3-0745-4BA9-B687-189D48CA30D9@microsoft.com...
>> We have many SMTP logs located on the root of our D drive called,
>> SMTPSVC1.
>> This is located on one of our front-end mail servers. Currently there are
>> over 23GB's of files in this directory. I would like to do some clean up
>> to
>> free up some disk space and wanted to know if it is safe to delete these
>> logs? Does this have to be a manual process or is there a tool that can
>> run
>> to check this folder weekly to delete for example the oldest log files?
>>
>> Thanks,
>> Dean
>
> Yes, you can delete them (manually in Explorer) if you don't think you are
> going to need them. It sounds like you don't. If you've no use for them,
> turn off SMTP logging.
>

Or you can ZIP them up. They compress quite nicely. Personally I would
delete em.


Re: SMTP folder too large by Dean

Dean
Wed May 07 17:42:02 CDT 2008

I will probably delete the oldest ones first, and just keep a month's worth
for troubleshooting purposes. I would like to keep the SMTP logging turned on
for now however.

Thanks very much,
Dean

"Martin Blackstone" wrote:

>
> "Lee Derbyshire [MVP]" <email a@t leederbyshire d.0.t c.0.m> wrote in
> message news:eDyqNAJsIHA.3420@TK2MSFTNGP04.phx.gbl...
> > "Dean" <Dean@discussions.microsoft.com> wrote in message
> > news:61F1F4B3-0745-4BA9-B687-189D48CA30D9@microsoft.com...
> >> We have many SMTP logs located on the root of our D drive called,
> >> SMTPSVC1.
> >> This is located on one of our front-end mail servers. Currently there are
> >> over 23GB's of files in this directory. I would like to do some clean up
> >> to
> >> free up some disk space and wanted to know if it is safe to delete these
> >> logs? Does this have to be a manual process or is there a tool that can
> >> run
> >> to check this folder weekly to delete for example the oldest log files?
> >>
> >> Thanks,
> >> Dean
> >
> > Yes, you can delete them (manually in Explorer) if you don't think you are
> > going to need them. It sounds like you don't. If you've no use for them,
> > turn off SMTP logging.
> >
>
> Or you can ZIP them up. They compress quite nicely. Personally I would
> delete em.
>
>

Re: SMTP folder too large by Lanwench

Lanwench
Thu May 08 08:23:08 CDT 2008

Martin Blackstone <martinb@myrealbox.com> wrote:
> "Lee Derbyshire [MVP]" <email a@t leederbyshire d.0.t c.0.m> wrote in
> message news:eDyqNAJsIHA.3420@TK2MSFTNGP04.phx.gbl...
>> "Dean" <Dean@discussions.microsoft.com> wrote in message
>> news:61F1F4B3-0745-4BA9-B687-189D48CA30D9@microsoft.com...
>>> We have many SMTP logs located on the root of our D drive called,
>>> SMTPSVC1.
>>> This is located on one of our front-end mail servers. Currently
>>> there are over 23GB's of files in this directory. I would like to
>>> do some clean up to
>>> free up some disk space and wanted to know if it is safe to delete
>>> these logs? Does this have to be a manual process or is there a
>>> tool that can run
>>> to check this folder weekly to delete for example the oldest log
>>> files? Thanks,
>>> Dean
>>
>> Yes, you can delete them (manually in Explorer) if you don't think
>> you are going to need them. It sounds like you don't. If you've no
>> use for them, turn off SMTP logging.
>>
>
> Or you can ZIP them up. They compress quite nicely. Personally I would
> delete em.

Yep. On my servers, I always enable logging, but I also run a scheduled task
nightly - a batch file that deletes all files in that folder older than 10
days.....

-----
Forfiles -p "e:\shared\smtp logs" -s -m *.log -d -10 -c "Cmd /C del @FILE"
-----