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.
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?
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.
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.
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!