OK - I'm done. It seems to work, but could have some funky results on a "virgin" mailing LIST.
I found out that IMail has many registry settings for lists. Some are NULL. Or "unset". I think. If I "read" (with CFRegistry) the registry entry, it actually captures the value for the prior entry. Doesn't come back blank or null - grabs the prior entry's value. Interestingly, if I "edit" that null record in the registry and just hit enter - still leaving it blank, it then works properly with the CFRegistry tag. It is one that was never manually edited in the registry that gives the problem. Bizarre. So what happens is if you create a new LIST without setting anything, 3 or 4 entries pick up the value "root" and one or two pick up "4" (from another entry) Other than that, it does seem to work. It copies the "obvious named" registry branch, such as "mail.mydomain.com" to another branch name "mail.mydomain.comOFF" using a recursive custom tag. There is no way to rename, so instead I copied & deleted the original. Editing the $virtuals was not possible because the "Aliases" key under that branch is in a binary format (even though it displays text) and I can't write out Binary with CFRegistry As a result, the customer can still use SMTP, but not POP - no sending or ALIAS functionality remains. That will basically do the job with dead beat clients and will get their attention! If anyone wants to burn some time playing with this - as I just did ..... let me know & I'll send you the code (3 short Cold Fusion templates, 100 lines of code total, plus comments). It does make life easy - you can disable an entire domain - no matter how many users, in about a second. I'm sure you can tie it in, for example, to your billing program so if they go 30 days past due, you automatically cut off their email. That always gets their attention ! If you want a copy, please let me know. I'm happy to share. I can't be held responsible, don't intend to "publish" or "sell" it, provide tech support or anything like that. Don't send money or flowers (although a beer would be nice right now) ; ) I just needed it, built it, and if you want it, be my guest. I commented the code, so it should be self explanatory. Be sure to back up the registry first, and use a dummy domain for testing! - Chris At 07:52 PM 4/16/2002, you wrote: > > Basically, I'm renaming the domain / domain alias "X---" + the > > original and when I want to reactivate, I'll scan for it and rename > > it back > >Yep, that's the way. You don't need a "program" per se to do it. :) > >-Sandy > > >Please visit http://www.ipswitch.com/support/mailing-lists.html >to be removed from this list. > >An Archive of this list is available at: >http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ > >Please visit the Knowledge Base for answers to frequently asked >questions: http://www.ipswitch.com/support/IMail/ Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Please visit the Knowledge Base for answers to frequently asked questions: http://www.ipswitch.com/support/IMail/
