OK, so some users have this registry key and some do not.. How do they get it.. Also, how do I interpret the data in the key.. A decimal value of '1017766261' means what?
The reason I ask is that we have a 'freemail' service we provide. I need to clean it up it's a disk space hog and really overtaxes the server. I have mailbox size limits, and delete old mail regularly, but 10,000 inactive accounts getting mail puts a load on the server. Half the time their boxes are full and they end up bouncing. Then the server is overloaded with NDRs saying the mailbox is full. Half the time, it's spam with bad return addresses, so I end up with thousands upon thousands of GSE files in the queue. I'd rather just give an invalid user message when it first tries to deliver. Only way to do that is to delete the account. Thanks for your help.. Shad Pulley Senior Systems Engineer Ikano Communications (801) 415-8023 Ph & Fax -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, April 04, 2002 1:58 PM To: [EMAIL PROTECTED] Subject: Re: [imail] Deleting old users... Here is the snippet we use to read the last login and and populate a database. One of these days I am going to clean some of this up so other people can use it. But for now - if you write a program to scan the registry you can do it pretty easily. HKEY_LOCAL_MACHINE,"SOFTWARE\Ipswitch\IMail\Domains\"+ alltrim(domains.domain)+"\Users\"+alltrim(lcUser)+"\","LastLogin") If they are x number days out we then send a warning email to their alternative and local email (in case they use pop3) and then when we scan thru the next week, if they are still gone - if they are not using pop3 during the week - kill the account, if they are using pop3 give them one more chance and a very stern warning. After 30 days we delete the directories - this gives them the chance to reclaim their accounts. We have instituted a $5 reactivation fee for any email we close. No one seems to mind and it has become a fairly steady source of beer money. Chet From: "Shad Pulley" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: [imail] Deleting old users... Date sent: Thu, 4 Apr 2002 10:44:31 -0700 Send reply to: [EMAIL PROTECTED] Organization: Humankind Systems, Inc. > Is there a way of going through and finding users that have not logged > in in say the last 6 months? Also, is there a command line utility to > delete orphaned accounts so I can schedule it once a week? > > Thanks, > > > > Shad Pulley > Senior Systems Engineer > Ikano Communications > (801) 415-8023 Ph & Fax > > _______________________________________________________ http://www.portalofevil.com ______________________________________________________________________ The HKSI-IMail Admin List is hosted by........ Humankind Systems, Inc. Questions, Comments or Complain like Hell.. mailto:[EMAIL PROTECTED] Message Archive... http://www.tallylist.com/archives/index.cfm/mlist.4 To Manage your Subscription......... http://humankindsystems.com/lists ______________________________________________________________________ The HKSI-IMail Admin List is hosted by........ Humankind Systems, Inc. Questions, Comments or Complain like Hell.. mailto:[EMAIL PROTECTED] Message Archive... http://www.tallylist.com/archives/index.cfm/mlist.4 To Manage your Subscription......... http://humankindsystems.com/lists
