Nope, no /R flag (so far). I'm poor, tho. First $50 makes it happen! Are you SURE there isn't something out there that does that? I don't remember researching any File Management tools when I wrote it, but that's been years an my memory isn't too good any more.
Dan http://www.visioncomm.net/invoice.cfm?invoice=killold -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Beach Computers Sent: Tuesday, January 11, 2005 10:01 AM To: [email protected] Subject: RE: [IMail Forum] HUGE Trash.mbx file Dan, Will it look at subfolders too? This would be awesome for killing IIS log files too if yes! Thanks -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Barker Sent: Tuesday, January 11, 2005 8:32 AM To: [email protected] Subject: FW: [IMail Forum] HUGE Trash.mbx file Sure: ftp://ftp.visioncomm.com anonymous email bin get killold.exe bye Program Prologue (Slightly more verbose than the <no args> doc dump: program KillOld; { Accepts three or more arguments: Path, mask, age, DEBUG. - Delete Files over age Path, /D, age, DEBUG. - Delete Directories over age Path, /C, mask, count, DEBUG - Delete all but COUNT which match MASK Path is the directory to prune with /, Mask is the filename mask to prune, Age (in days) is the age before which files should be deleted. If DEBUG exists (any 4th parameter), no DELETE is done } uses SysUtils, dialogs, Classes; ... Dan -----Original Message----- From: Jeff Hitchcock [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 11, 2005 8:24 AM To: [EMAIL PROTECTED] Subject: RE: [IMail Forum] HUGE Trash.mbx file I would appreciate a copy of killold.exe. Thanks. Jeff Hitchcock - [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Barker Sent: Monday, January 10, 2005 9:00 AM To: [email protected] Cc: [EMAIL PROTECTED] Subject: RE: [IMail Forum] HUGE Trash.mbx file I run a nightly clean job that kills old logs and emails. ymmv. killold.exe is custom, available upon request. Dan NightlyCleanImail.cmd: killold c:\imail\spool *.txt 7 killold c:\imail\spool *.log 7 killold c:\imail\spool *.tmp 7 killold c:\imail\spool *.smd 4 killold c:\imail\spool\spamtested *.* 2 killold c:\imail ex0*.* 2 \imail\immsgexp -tc:\imail\visioncomm.net -d5 -mspam.mbx \imail\immsgexp -tc:\imail -d30 -mspam.mbx \imail\immsgexp -tc:\imail\accentsinglass\users\root -d30 -mmain.mbx \imail\immsgexp -tc:\imail\BuilderUpgrade\users\root -d30 -mmain.mbx \imail\immsgexp -tc:\imail\CaravanSheet\users\root -d30 -mmain.mbx \imail\immsgexp -tc:\imail\FruitfulWorld\users\root -d30 -mmain.mbx \imail\immsgexp -tc:\imail\kitepilot\users\root -d30 -mmain.mbx \imail\immsgexp -tc:\imail\PastLivesAntiques\users\root -d30 -mmain.mbx \imail\immsgexp -tc:\imail\visioncomm.com\users\root -d30 -mmain.mbx \imail\immsgexp -tc:\imail\visionseer.com\users\root -d30 -mmain.mbx \imail\immsgexp -tc:\imail\visioncomm.net\users\edouglas -d30 -mmain.mbx \imail\immsgexp -tc:\imail\visioncomm.net\users\earlspam -d5 -mmain.mbx \imail\immsgexp -tc:\imail\visioncomm.net\users\earlspam -d5 -mspam.mbx \imail\immsgexp -tc:\imail -d30 -mdeleted.mbx call \perl\bin\relearn > c:\imail\ReLearn.txt call \perl\bin\sa-learn --dbpath "c:\documents and settings\default user\.spamassassin\bayes" --dump magic > c:\imail\magic.txt -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of ITG Lists Sent: Monday, January 10, 2005 8:46 AM To: [email protected] Subject: [IMail Forum] HUGE Trash.mbx file Hi, Running iMail 8.14 and had a problem over the weekend when a Trash.mbx file on a user account grew large enough to consume available disk space and take down the server. I have read in past posts about issues with IMAP and I plan on discussing with client today to find out particulars on their setup. In the meantime, are there any known ways to prevent this from happening? Also, any known utilities that can monitor disk space and email an alert when a threshold is reached? We run the Monitor service, but unfortunately, the Disk Space monitor only reports to log, and cannot notify like when monitoring a service. Please .cc me at [EMAIL PROTECTED] as I am on digest. Thanks in advance, George To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/ To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
