How to delete "ghost server rules"

Hello All,

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.

HELP!!!

Jack

Subject: How to delete “ghost server rules”

Here’s what worked for me regarding server mail rules deleted and still being processed. I’m using 6.5.2:-

  1. 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).

  2. 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.

  1. Select the configuration documents you want to fix and run the agent from the Actions menu.

  2. Now your configuration documents will be just like they were before you set up any rules. Re-create any rules you still need.

Hope this helps.

Subject: How to delete “ghost server rules” - It worked

DanThat worked great.

Thanks

Subject: RE: How to delete “ghost server rules” - It worked

Just a note … This was a great … Thanks

Subject: How to delete “ghost server rules”

Have u got an answer? I encountered this before also.

Subject: RE: How to delete “ghost server rules”

Nope,

No answer so far and since this is my third post regarding this problem, I think I’ll never receive a solution.

I’m wondering if IBM has technical engineers who read this forum too, maybe they know a solution.

Else I guess we have to open a Call and let them resolve it.

Jack

Subject: Re: How to delete “ghost server rules”

I done this in mail database (not server rules) and works perfectly.1. Open the mail database in designer

  1. create a new view with SELECT Form=“Mailrule”

  2. First column use field conditionlist.

  3. Delete the rule(s) you want.

I guess it will works on the server rules if you know the form.

Subject: How to delete “ghost server rules”

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.

Subject: How to delete “ghost server rules”

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.

I am using Domino 6.5 on iSeries.

Alex

Subject: RE: How to delete “ghost server rules”

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.

Going to test soon.

Jack