Hi,
We’ve noticed that when a user running R7 client has multiple rules in his mailbox, only the last one works (regardless of the number of rules).
Has anyone seen the same? Any ideas for a workaround?
Thanks
B.
Hi,
We’ve noticed that when a user running R7 client has multiple rules in his mailbox, only the last one works (regardless of the number of rules).
Has anyone seen the same? Any ideas for a workaround?
Thanks
B.
Subject: R7 multiple rules in mailfile, only 1 works
The Rule documents you see in the Rules view are not what the server processes; they are converted to $FilterFormula_n items in the calendarprofile document, and that’s what the server uses. So when you have issues with rules, the only way you’re going to know what the server thinks it should do is to look at the same rules the server looks at. Use notespeek (downloadable from the sandbox if you don’t have it) to open the calendarprofile document and look at those items. That will be your starting point.
Subject: RE: R7 multiple rules in mailfile, only 1 works
Thanks for the suggestion, Notespeek is something I have, but tend to forget (shame on me).
Anyhow I have 3 $Filterformula_n entries
$Filterformula_0 = the task rule (std. Notes rule)
$Filterformula_2 = junk mail rule
$Filterformula_3 = the last rule I’ve made
Actually $Filterformula_3 is overwritten each time a new rule is made, hence that’s the one which is executed.
Could it have something to do with the fact that there is no $Filterformula_1 ?
EDIT: $FilterFormulaCount = “4”
Subject: RE: R7 multiple rules in mailfile, only 1 works
No, I’ve seen quite a lot of mailfiles with no rule _1 – what you’re seeing is not obviously wrong. As long as the count is one greater than the largest-numbered filterformula item, and there are no duplicate filterformula item values, you should not have problems. (Of course, that’s ignoring the issue of how closely the set of filterformula items matches the rules that are currently extant and enabled…)
So I’m out of guesses; I haven’t seen this one before myself.
Subject: R7 multiple rules in mailfile, only 1 works
What are the rules actually doing with the mail message in question ?
There’s a comment in the help …
Note Notes uses rules in the order in which they appear from top to bottom, so you can move the rules you want to have priority closer to the top. This way, if a new message you receive meets the criteria of two different rules, the rule that’s closer to the top acts on the message first. (This is particularly important if you have rules that move or delete messages.)
… which implies that rules are run in sequence on all incoming mail.
Could it be that the last rule is over-writing what the other rules were doing ?
Subject: RE: R7 multiple rules in mailfile, only 1 works
No this is not the case. I know they are run sequentially, but in our case only 1 runs (and it’s the bottom one instead of the top one).
Rule A = if subject contains “ABC” move to folder ABC
Rule B = if subject contains “DEF” move to folder DEF
B.
Subject: RE: R7 multiple rules in mailfile, only 1 works
Okay - so these are NOT multiple rules trying to act on the same inbound e-mail, but similar rules where one is working for it’s matching e-mail, but others are not ?
I can only offer general trouble-shooting tips …
Verify that all rules are enabled. (Should be a check-mark beside them)
Delete one of the rules that is not working and recreate it. (Rules used to be known for becoming corrupt - don’t know if that’s still the case.) Then retest it.
If that still does not work, double-check everything - Does the e-mail really match the criterial that the rule is set up to look for ? If you are moving to a folder, does the folder still exist with that exact name ? (I’m thinking the user may have renamed the folder)