Is there a way to see what Mail.app is doing when it scans messages for rule firing? I have a rules that download bank statements when I get an email from my bank. Since I have multiple accounts, I rely on the account number in the email message. I have a number of rules, each having a filter that says

Message content contains The statement for your account ending in XXXXX is available online for viewing

where XXXXX is the particular account number. The problem is that the first rule always fires no matter what account number is in the message.

2 Answers 2


Simplify it to

Message content contains 'XXXXX'

& add 'Stop evaluating Rules' as your last action in the Rule.

Or, if the number may possibly occur in other emails, make the rule.

Message content contains 'The statement for your account ending in'  
Message content contains 'XXXXX'

Adding 'Stop evaluating Rules' is a sensible precaution for all rules that should stop at that point.

  • The problem is that the XXXXX rule gets fired even when the account number is YYYYYY
    – Paul Waldo
    Commented Mar 11, 2016 at 10:11
  • even when the only thing it's looking for is XXX & not the rest of the sentence? & Even when you have a 'stop evaluating' after it? The most common error is evaluating a post after it should have been marked as 'completed'.
    – Tetsujin
    Commented Mar 11, 2016 at 10:12
  • Thanks for your input, @Tetsujin. While not resolving the main issue, you have provided a couple of best-practices ideas!
    – Paul Waldo
    Commented Mar 11, 2016 at 17:26

I've been building this rule one entry at a time and testing using ⌘⌥L. Things would work for a few runs, but then stop. It turns out that quitting Mail and restarting will make the rule run just fine (for at least a few more times).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .