iMail already comes with a utility to do this - ISplCln.exe:



Ipswitch (R) IMail Spool Directory Maintenance Utility - Version 1.0
Copyright (C) Ipswitch, Inc. 1998-1999.  All rights reserved.

Usage: ISPLCLN [-n days] [-l days]

-n Specifies how old a file is before it is deleted.
-l Specifies how old a log is before it is deleted.


----- Original Message -----
From: "Scott MacLean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 19, 2000 9:56 PM
Subject: Re: [IMail Forum] Spool Size


> I found that all kind of garbage collects in there. Documentation says
that
> files should only collect there if the server crashes etc., but my server
> will go months without rebooting, and still that Spool directory fills up
> with crap.
>
> Documentation also says that anything over a week old is safe to delete,
so
> I wrote a small program that is scheduled to run once a day. It looks at
> every file in the spool directory and deletes anything over 7 days old.
> Keeps things reasonably clean without my having to remember to go in there
> and do it by hand.
>
> At 08:16 PM 12/19/2000, Brian K. Gamble wrote:
>
> >I am running IMail 6.05 on a W2K server and have been noticing that about
> >every 4 days the spool size gets huge (18+ Megs) with mail that has gone
> >undelivered. Typically I see about 40 mail messages per day with the
> >extensions of: .smd, .gse and .~md that have not been delivered and it
> >grows each day. My customers (4000+) are not complaining about email
> >problems and I have done some testing to rule out DNS problems. I am also
> >running Declude Spam Detection program on the server as well. I'm new to
> >this IMail Program and pretty clueless at this point. I have looked at
the
> >log files but I'm not quite sure what I should be looking for. Any help
> >would be appreciated.
> >
> >Thanks!
> >Brian
>
> _______________________
> Scott MacLean
> [EMAIL PROTECTED]
> ICQ: 9184011
> http://www.nerosoft.com
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to