On 28 Oct 2017, at 15:27, Chuck 95omega-at-gmail.com wrote:

Does anyone have experience using conditional rules where they don't stick.  For example, if I set a rule that says the following:

-Any of the following are true:

     -From: [us...@example.com](<mailto:us...@example.com>)

     -From: [us...@example.com](<mailto:us...@example.com>)

         -All of the following conditions are true 

              -Date Received within last 7 days

In this rule if an email is received from [us...@example.com](<mailto:us...@example.com>) come in the last 7 days I want to take an action.  The problem is that Mailmate never applies sub-rules in the rules editor no matter what rule I'm using.  After applying rules are no longer nested.

Is anyone else seeing similar behavior?  Shame on me for not testing this earlier.
Hi Chuck,

I have lots of nested rules that work fine. When I enter yours as described the
&nbsp;&nbsp;&nbsp;&nbsp;All of the following conditions are true
&nbsp;&nbsp;&nbsp;&nbsp;Date Received within last 7 days
Is not indented when entered (using the elipses)

I think the rules need to written like this

**Any** of the following are true
&nbsp;&nbsp;&nbsp;&nbsp;**From** **is** us...@example.com
&nbsp;&nbsp;&nbsp;&nbsp;**All** of the following are true
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**Date Received** **Is within last** 7 **Days** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**From** **is** us...@example.com

in other words I believe the ALL or ANY condition must precede what you want it to apply to.
That's the way I always write mine and have no issues.

_(Disclaimer: I may be wrong)_


--
__*Richard Rettke*__
*Laus Deo*
*Non sibi sed patriae*

[About Me](https://about.me/rerettke)

_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

Reply via email to