While removing a replication or save conflict document yesterday (the server mail config document for the mail server), we inadvertently deleted all the mail rule docs that went with it.Now, these are “keep private” documents, so you can’t just copy and paste them from a working NAB (which we quickly backed up off a replica before anything bad happened to it).We found some useful info on notes.net. This post tells how to copy them from one db to another, and this post tells how to set the response docs so they have the correct parent document. So what we did was to first create a private view that just has mail rules documents so we could see what we were working with. We did this in both the mails server db, and the local copy we had. Next, we set all the documents $KeepPrivate to 0 so that they could be copied. Copied the 28 mail rule documents back over to the mail server. Then set the $KeepPrivate back to 1, and set the CfgDocUnid to the correct one. So the mail rules now showed up ok, although we kept getting a strange error - Cannot find external name I_ISSERVERRULES. There is *nothing* on the net about this - on notes.net or google. So we replaced the design of the database, and the errors went away. Not sure if this was to do with the rule documents themselves, or, more likely, the deletion of the replication save conflict document and problems that may have caused.Next we restarted the router to make sure all the rules were in place, then tested in and outbound messaging, and also tested the rules to make sure they were working too.
Thanks to Karen for doing the actual work on this

Post a Comment
You must be logged in to post a comment.