On Tue, 16 Aug 2005 11:19:57 -0500, Alan <[EMAIL PROTECTED]> wrote: > Not sure there are many left on this list, but just in case soneone has a > suggestion... > > Anyone have any ideas on how to enforce inbox size quotas using any part of > IMS or any of our third party modules?
a plugin using some sort of batch file with diruse from the resource kit? Maybe something like (it'll need a bit of tweaking to get it to work but the general idea should be ok). --------------- for /f "tokens=1*" %%a in (%2) do if "%%a" == "Recipient:" set rpcuser=%%b diruse c:\inbox /* /m /q:500 /d >c:\tmp\sizecheck.txt findstr /i /c:".\%rcpuser%" c:\tmp\sizecheck.txt set ret_code=%errorlevel% if %ret_code% == 1 goto exittrash exit 1 :exittrash exit 0 :exitdelete exit 2 :end --------------- klint. +---------------------------------------+-----------------+ : Klint Gore : "Non rhyming : : EMail : [EMAIL PROTECTED] : slang - the : : Snail : A.B.R.I. : possibilities : : Mail University of New England : are useless" : : Armidale NSW 2351 Australia : L.J.J. : : Fax : +61 2 6772 5376 : : +---------------------------------------+-----------------+
