Error registering mail rule - invisible rules

A little while ago I tried to create a rule in a user’s mailbox. When I saved it there was nothing shown in the rules view so I tried again a couple of times. Now I get 3 of the following messages in statrep.nsf several times a day.

“Error registering mail rule 2 for database mail/usermail.nsf: Monitor has already been registered, no action taken.”

There is still nothing in the rules view. I have tried creating a new view showing everything where Form = “mailrule”, doing fixups and compacts and even rolling the design of the mail file back to Mail (R5) to see if the rules would show up. Nothing has worked so far.

Has anyone got any suggestions before I have to resort to creating the user a completely new mail file?

Subject: Error registering mail rule - invisible rules

I would normally suggest that you have 2 rules folders, ie the old one hasn’t been removed when upgrading / refreshing the design. So that holds the rules, but doesn’t display them unless you do View > Go TO (hidden views). However, I’m assuming your newly created view would display these rules.

Subject: RE: Error registering mail rule - invisible rules

Hi James,

Thanks for the response. Now that you mention it there were two rules folders, I deleted the extra one but it hasn’t resolved the problem of the alerts coming up in the statrep. Is there any way of stopping the server from attempting to register the mail rules?

Subject: RE: Error registering mail rule - invisible rules

Hi James,

Thanks for the response. Now that you mention it there were two rules folders, I deleted the extra one but it hasn’t resolved the problem of the alerts coming up in the statrep. Is there any way of stopping the server from attempting to register the mail rules?

Subject: Error registering mail rule - invisible rules

Hi - I have fixed this. I created three more rules and this seemed to appease whatever was trying to do the registering. I will try deleting these new, dummy rules in the usual way and report if the problem re-occurs.

Subject: RE: Error registering mail rule - invisible rules

The mail rules are stored in the calendar profile in the database.

You could try deleting the calendar profile and recreate it using Tools… Profile.

You could do this with a tool like notespeek, ytriatools or DomainPatrol.

If you are using DomainPatrol version 4, there is an action to repeair mail rules in the database document. That removes mailrules from the calendar profile that do not have a corresponding rule document and at the same time preserves all other profile settings.

Peter Närlund, DomainPatrol

http://domainpatrol.org