C:\WINDOWS\system32\cmd.exe /c c:\imail\isplcln -n 5 -l 10

Above is the command I use in scheduled tasks. Make sure you have ispcln.exe on your system. I can't remember whether it came with Imail or I had to download it somewhere. You only need to be concerned about the last few characters starting with the -n -- the number following specifies the # of days old spool files which will be deleted. -l # specifies the number of days of logs that will be kept. Older than 10 days on my system get deleted. Usage of either is optional. There might be other options under the command too, I can't recall.

Here is the scheduled task for purging the spam folder after 5 days:

C:\WINDOWS\system32\cmd.exe /c C:\IMail\immsgexp.exe -tc:\imail -d5 -mspam.mbx

Use -mFolderName - you can purge out of any folder using this command

Here's the syntax for deleting the .gse files:

C:\WINDOWS\system32\cmd.exe /c del c:\imail\spool\*.gse



  I'm still on Win2k. I've been able to automate emptying the mx-pid folder
periodically, downloading sniffer updates, and uploading/dating sniffer
logs nightly. I could also automate dumping the .tmp and .gse files
periodically(may give that shot), not sure how I could do the clean out
files after 5 days thing though. I'm assuming you're talking about the
scattered extra .smd files.


--
Kirk Mitchell-General Manager    [EMAIL PROTECTED]
Keystone Connect                 Unlock Your World
Altoona, PA  814-941-5000   http://www.keyconn.net



#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[email protected]>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Thanks, Greg

CoffeyNet/AllureTech           v 307-473-2323
1546 E. Burlington          cell  307-259-7962
Casper, WY 82601 fax 307-237-3709


#############################################################
This message is sent to you because you are subscribed to
 the mailing list <[email protected]>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to