Joel, Looks like a good idea and implimentation (not a coder myself, so have not looked at it in any detail!). The only thing I would suggest is that the first warning should be at 80%, with a second at 90%. I would not send more than these 2, to keep from flooding the mailbox. Different warnings (at least how they are worded and the 'strength' of the words) would be a good idea. The 90% one telling them the account may refuse mail (and they may not know this), until they attend to the matter. If they have already exceeded the limit (or are within a few percentage points of the limit), your warning message might not be accepted! So limit number of warnings (something is 'set' so the script knows the 80% and 90% messages were sent to that user, reset, when drops below each limit point) and the size of the warning message. Daniel Donnelly Ipswitch Technical Support ________________________________________________________ See our Knowledge Base at http://support.ipswitch.com/kb ----- Original Message ----- From: "Joel Morgan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 26, 2000 4:35 PM Subject: [IMail Forum] issue warnings to users approaching the mailbox size limit > Imail version 6.X lacks the ability to issue warnings to users approaching > the mailbox size limit. This perl script scans the registry for each domain > and checks each user's mailbox size against MaxSize entered for the user in > the registry. If the user has 0 entered as MaxSize then the domains MaxSize > entry is used. If the mailbox is within 10% of the limit it emails a caution > to the user and logs it. If the user's mailbox exceeds the limit it only > logs it. The resulting log file is then emailed to the postmaster account. > Sizes are reported in bytes. > > To run the script every 24 hours, schedule with the command "AT 2:00 > /interactive /every:Su,M,T,W,Th,F,S C:\BIN\LIMIT.PL" > > I would appreciate any comments or suggestions. For example should the user > continue to be warned once the mailbox limit has been passed. Maybe even > warn until the user is 10% over the limit. It currently starts warning the > user at 10% of the limit and continues until the limit is reached. I don't > want the number of warnings mailed to a user to be infinite. > > It should work without any configuration settings other than to either > manually run it or schedule it. Would someone give it a shot and help me > test it? > > It seems to work fine, but use at your own risk! > > Works with Activestate's Perl available at http://www.activestate.com/ > > <<LIMIT.PL>> > Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list.
