Question about the NotesRegistration class... trying to use registerNewUser to create the mail file

I am using the NotesRegistration class to register a new user. I am using some of the undocumented properties that are in the class to set the Mail Quota/Threshold as well as to replicate the mail file to another server.

My problem is that the mail file, when replicated over to the other server loses the mail quota/threshold settings.

Does anyone have any clue what can be done?

Here is a snippet of code that I am using:

reg.MailQuotaSizeLimit = 200

reg.MailQuotaWarningThreshold = 150

reg.MailReplicaServers = “SomeServer/SomDomain”

The quotas are successfully set on the local server, but not on the remote server.

Thanks,

Eric

Subject: not the class’s fault…some properties don’t replicate

quota, threshold, ODS version, cutoff date, most of the advanced properties, and probably a few others that escape me at the moment

Subject: I was afraid of that…

I thought there would be some magical property in NotesRegistration.

So, my follow-up question would be… if I can’t get it to update through replication, I want to try to set it from a remote server (via IIOP). I can do that (forgetting that DIIOP isn’t running in prod for one minute), but there is no setting to update sizeWarning in the Database class, as there is in the NotesDatabase class.

So, my question is… how would it be possible to update Mail Quota Warning on a database on a remote server?

Thanks,

Eric

Subject: Available via IIOP as of 6.5

Most (if not all) previously undocumented properties are documented and exposed in 6.5, for both Lotusscript and Java.

Thomas - IBM

Subject: Thomas, here is a question about the behavior of the undocumented features…

Right now, I am using the LotusScript version of NotesRegistration that you showed me. However, the behavior I am having trouble with is that you can set the Mail Quota Size and Threshold Warning, but those settings only affect the mail file created on the local registration server. The server that is specified as the replication server in the register new user process receives a mail file, but those settings are zero. And, of course, they do not replicate over when initialized.

Do you know if that will be addressed in 6.5?

Thanks.

Subject: RE: Thomas, here is a question about the behavior of the undocumented features…

AFAIK the database quotas do not replicate between different replicas, so if you set them on one replica, it doesn’t affect the other. I am not sure if the NotesRegistration class even should do attempt to do that, I’ll need to run this by some other developers.

Thomas - IBM

Subject: How I’m using it…

To illustrate why I would need this…

I am trying to have “requests” for a new user registration in a single database on a single server, but that server is not the Mail server, it is an App server. So what I would like to have happen is that the user has a new entry created in the App server Address Book, but then have the mail file created on the mail server.

Since the app server should not have a copy of the mail file, I subsequently delete that database after the first replication to the Mail server. So, it is somewhat important for the “real” mail file to have those settings updated. At least initially.

Of course, if Adminp is somehow involved and I can have that create the Mail database on the specified server, then that would be even better!

Thanks again,

Eric

Subject: RE: How I’m using it…

a) You could set the .RegistrationServer right to the mail serverb) You could set the DB Quotas on the remote mailfile via LS directly.

In Domino6, agents on one server can work remotely on other servers, given a proper setup/configuration of security.