Guess I have a real problem here since nobody seems to know the answer.
Formerly we used to have some server rules on our Domino server (but nobody seems to know which rule). The reason I believe this, is that when I give SET RULES on the console, I receive the message “Successfully registered 1 system filters”.
When we look in the server files, no rules are visible.
My question is: How can I see or locate this “ghost” rule, and more important how can I delete it? Anybody knows in which database this server rule can be?
Reason to delete the rule is that we seem to have a mail-size restriction (but only to the Internet) which makes me believe it should be in MAIL.BOX but no rules or filters are visible.
Here’s what worked for me regarding server mail rules deleted and still being processed. I’m using 6.5.2:-
Disable then delete all rules in the relevant configuration documents in the Domino Directory (I made a note of all the mail rules I needed to put back for later reference).
Create an agent in the Domino Directory to delete the fields which are created in the configuration documents when you set up rules. You can use formula code as follows:
FIELD $FilterFormulaCount:=@DeleteField;
FIELD $FiltersSeqNo:=@DeleteField;
FIELD $FilterFormula_0:=@DeleteField;
FIELD $FilterFormula_1:=@DeleteField;
FIELD $FilterFormula_2:=@DeleteField;
FIELD $FilterFormula_3:=@DeleteField
the above will remove up to 4 ghost rules (0,1,2,3) but you can add additional extra lines of code for more if required. It does not do any harm if they don’t exist.
Select the configuration documents you want to fix and run the agent from the Actions menu.
Now your configuration documents will be just like they were before you set up any rules. Re-create any rules you still need.
I would create an easily recognized rule on a test system where the Domino Directory is small. Then I would use the NotesPeek tool from the Sandbox to go looking for the rule in names.nsf and in mail.box. I would expect to find two copies of it – an editable version and a compiled version. In the case of a ghost rule, I would expect to find a compiled version but no editable version. Unfortunately I do not have access to a Domino 6 test system right now, so I cannot try this myself.
I have encountered the same problem within mail databases. I opened a call with IBM 3 weeks ago.
Until now I received the following “solution”. Create a new rule (if no rules are present). Check the document properties and check if the rule number flag is set to 0. If it is set to 1 I was told to run an agent that renumbers the rules (starting with zero).
This did not work for me. So the call ist still open.
Just received an test option from a Notes expert in the Netherlands.
Since Server Rules are saved in either the NAB or the Domino Directory, he adviced me to make a NOTES COPY from the Directory. Doing so filters out bad rules, records or documents (as I’m told). Now start the server (using the copy of the Directory) and test if the rule is still available (SET RULES on the console).
If everything works as expected, the “ghost” rule should be gone.