Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I cannot seem to get the following rule working.

Requirement: I want to run a mail filter which says:

If the mail is in Account X, and has subject Y, was received less than 10 days ago, and has no MailTags, I want to move it to the Trash folder.

enter image description here

It seems to work partially - it moves some mail to trash and not some other.

Can anyone suggest assistance? The rule is located at the top of the rules list, so it should be applied first?

thanks.

share|improve this question
    
Thanks for drive-by-suggesting MailTags to me! –  myhd Aug 16 '12 at 10:31
    
You're welcome. It's great software, but still not powerful enough for me. –  Bernard Tyers Aug 17 '12 at 12:30
    
Telling us what version of Mail.app you're using may shed light on this problem. –  gosmond Feb 26 '13 at 18:30
add comment

3 Answers

Please be aware that mail only applies rules to new messages. So deleting old messages may not work as expected, since the rule is checked once when the message is new the "date received" test fails. From the doc:

Rules are automatically applied to incoming messages, but you can apply a new or modified rule to selected messages you’ve already received.

You may apply rules to selected messages by:

Select the messages and then choose Message > Apply Rules.

You may be able to write an applescript to automate the last step.

share|improve this answer
add comment

Try changing the Subject beings with to Subject contains and see what happens.

share|improve this answer
    
Hi, thanks. I have tried it before, and again just now and no joy. I find that non-trivial filtes in Mail.app often do not work.. –  Bernard Tyers Jan 12 '12 at 20:09
    
You don't happen to have a MailTags rule that is adding a tag before the Apple rules get processed? –  Andrew Lazarus Jul 20 '12 at 22:04
    
Hi there, no I don't. I have deleted the rules and trying again. I wish Apple Mail.app had more powerful rules. –  Bernard Tyers Aug 17 '12 at 12:29
add comment

Try adding the Stop Evaluating Rules action at the very end. When you apply rules, there may be another rule that overrules this one.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.