A user activated a mail forwarding rule before going on holiday. After his holiday he deleted the rule without first deactivating it. Now the rule is no longer visible in his mail database but it still forwards his email. How can this rule be deactivated?
Hi Andrew,
You can delete the Calendar Profile of the user and then this mail rule issue should get fixed.
You can refer this video to delete the calendar Profile.
https://www.youtube.com/watch?v=trQ936dq3d8
Once the calendar Profile is deleted, then you need to disable and enable the required rules again.
Thank you.
Sandeep
Thank you. This solved the problem.
Hello Andrew,
You can recreate the calendar profile to restore proper functionality of the rules.
please refer below Article which explains that how to recreate the calendar profile via Admin tool.
https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0029803
Once profile is recreated then you can disable the Existing rules and enable again.
Note: "If you find the above information helpful, please consider accepting the solution. This will allow other customers to refer to it as well."
Thanks
Hitesh G
Just a wild thought worth trying.
Create the same exact mail fwd rule, activate it and then deactivate it. Delete it after that if required.
Possibly try to exit the notes client or ui and restart again after every action ie create rule, activate, deactivate and delete.
This may sort out the calendar profile issue by overwriting the previous entry.
Honestly speaking, this sounds like a bug. Deactivating a rule should just deactivate it and still keep the rule in user interface, so that he may reactivate it again later obviating the need to create the same rule every time.
Deleting without deactivating should logically deactivate the stored rule in calendar profile as well, as that was the user intention.
Looks like an enhancement idea to me.
Hello Andrew,
Based on the recent update, it appears that "The end user has deleted the existing mail rule without disabling it, and the mail rule is still active in the mail file."
In this situation, if you delete mail rules without first disabling them, the filter formula values may remain unchanged and cannot be deleted or updated. Therefore, we recommend that you always disable the rules before deleting them.
As you are currently experiencing this issue, please follow the steps below to update the filter formula by creating a button and sending it to the affected end user:
1. In the Administrator's mail file, go to New Memo, then navigate to Create > Hotspot > Button. (If this option is disabled, click anywhere in the body of the email.)
2. Name the button (e.g., 'ClickMe') and close the small window.
3. In the programming window, select 'Lotus Script' from the drop-down menu instead of 'Formula.'
4. Paste the following code in the 'Click' event of the button, ensuring you place it between 'Sub Click' and 'End Sub.'
------------------------------------------
Dim s As New notessession
Dim db As notesdatabase
Dim rulesfolder As notesview
Dim rules As notesviewentrycollection
Dim rule As notesviewentry
Dim ruledoc As notesdocument
Set db=s.currentdatabase
Set rulesfolder=db.getview("Rules")
Set rules=rulesfolder.allentries
Set profile=db.GetProfileDocument("CalendarProfile")
If profile.getitemvalue("Use_CalendarRule")(0) = "1" Then
profile.Use_CalendarRule = "0"
End If
Set Count=profile.getfirstitem("$FilterFormulaCount")
Call count.remove
Forall ff In profile.Items
If ff.type = 1536 And Lcase(Left(ff.name,15)) = "$filterformula_" Then
Call ff.remove
End If
End Forall
Call profile.Save(True, True)
--------------------------------------------------
(5) Click anywhere in the body of the email to close the button programming window.
(6) Send the newly created email to the affected end user, instructing them to click on the button.
(7) Do not click on this button in your mail file, as it will update your filter formula for rules.
(8) Ask the affected user to click on the button to update the filter formula. They should see a message stating, "Profile document is successfully updated."
(9) This action must be performed from the Notes Client, and the user must be logged in with their Notes ID.
Afterwards, instruct the end user to close the mail file from the Notes Client and then reopen it by logging in with their user ID.
Any existing rules in the mail file should be disabled and re-enabled to ensure they work as expected.
If the user has deleted all mail rules, create a test rule in the specified mail file and then run the mentioned button. After executing the button, disable the test rule that you created.
I hope this helps.
Regards,
Pramod
Thank you. I tried this. However the Profile Document does not contain a $FilterFormulaCount item which causes an error. Actually the profile Document does not contain any NotesItems beginning with $FilterFormula.
I solved the problem by deleting the profile document.