Skip navigation

Mail:  ANY doesn't work in smart mailboxes or rules?

1809 Views 13 Replies Latest reply: Jul 1, 2012 11:55 AM by Donot Haveone RSS
Donot Haveone Level 1 Level 1 (15 points)
Currently Being Moderated
Jun 11, 2012 10:08 PM

I want to create a smart mailbox that will copy and archive  all messages to/from a particular recipient and e-mails to/from others about the subject of most of the conversation with that recipient.  I want the archiving to happen as they arrive in my inboxes and not automatically remove them from the servers--some I still need on the servers to access from multiple locations/machines.

 

But I can't even get to the archiving issue:  the smart mailbox that says 'contains ANY message' meeting these rules:

contains recipient1

contains subject2

always has fewer messages than one that simply 'contains recipient1' so the ANY condition, that in boolean terms should be an OR combination, appears to functionally act as an AND.

 

When I tried to create a smart mailbox folder to contain two mailboxes, one for contains name1 and one for contains subject2, each of which separately works fine, clicking the smart mailbox folder containing both leaves the window empty, so I can't see the messages name1 and subject2 interlaced in the date sent order or any other.  I just get one group or the other by clicking the submailboxes.

 

And trying to bypass the problem using rules doesn't work either--the 'any' command is as dysfunctional there as it is in the smart mailbox dialog.  I can manually search for the relevant terms (recipient1 and  subject2) and option+drag them to a mailbox for archiving, but this results in many duplications, especially if repeated over time, not a happy result.

 

Some searching here and googling suggests that the ANY command is problematic in this OS for a lot of people, but is there a known fix?  Or a better way to create a 'smart' archive to do what I want?

MacBook Pro, Mac OS X (10.6.8)
  • DJ.Harris Calculating status...

    I am experiencing the same issue.  It seems like a simple thing to fix but I somehow don't expect this to happen with Mountain Lion so close around the corner - I'm sure this will be fixed in the Mail overhaul.

     

    In the meantime I will just create multiple Smartboxes instead of aggregating them into one.

     

    I would love to know if anyone has a workaround for this?

     

    ---

     

    Edit: I give up on this till Mountain Lion.  I created a smart mailbox wherethe rule is "Contains messages that match any of the following conditions: From > Contains > subscriber@demomail.com."

     

    The mailbox instantly pulls in about 20 email messages.  That is all good and fine but I know that there are at least 100+ emails from this address.  It doesn't pick them up at all.

     

    It's strange because I never used PC until a year ago when I started work.  I found out about, and now use a lot, the rule feature within Outlook.  Smart Mailbox seems vastly inferrier in this case.

     

    Ahh well, still waiting for Retina Macbook and I'm sure I will have my emails sorted perfectly with the release of Lion!  Here's hoping..

  • DJ.Harris Level 1 Level 1 (0 points)

    I'm now using 10.7 on my new retina!  What a beautiful screen.  I need to upgrade my camera now because my photos don't do the screen justice!

     

    I worked out what the problem was here.  Smartmail box is creating duplicates of what is shown in the inbox.  I want the emails removed from the inbox so I used a Rule (Preferences > Rules) to move incoming messages to a real (non-smart) mailbox.

  • leilaboxergirl Level 1 Level 1 (115 points)

    Delete your mail account and re create it again!

  • thomas_r. Level 7 Level 7 (26,970 points)

    I'm unclear on what you're looking to do.  You say you want to copy messages to a local folder, but that you don't actually want duplicates.  Are you saying that you want to have the same e-mail referenced from two different places, and that when you eventually delete it from the server you want it automatically copied to the local folder, but not actually stored in that local folder until it's deleted?  If so, that's not possible.

     

    Smart mailboxes are only saved searches, essentially.  Messages are not stored in smart mailboxes, and smart mailboxes do not move messages anywhere else.  Rules can move or copy messages, but they can only be applied automatically to incoming, unread messages.  You can apply a rule to selected messages manually, but there's no way to automatically run a rule when deleting a message.

     

    Perhaps if you could give more details on what you want to accomplish we could provide some alternate solutions.

  • thomas_r. Level 7 Level 7 (26,970 points)

    Delete your mail account and re create it again!

     

    Why on Earth would you suggest that?  That makes no sense whatsoever in the context of this topic!

  • thomas_r. Level 7 Level 7 (26,970 points)

    Okay, I think I understand better now.  So I just ran a test, by creating the following rule:

     

    Screen Shot 2012-07-01 at 10.56.14 AM.png

    I specifically chose an address (obviously not the one shown) that I had a message from in my Inbox, and a word that was present in the subject line of several messages in my Inbox.  When I ran this rule on my Inbox, it copied exactly the messages I would have expected into the test mailbox.  Are you seeing different behavior with the same rule, or is your rule constructed differently?

     

    If the difficulty is with running the rule, note that (as I said earlier) rules only run automatically on unread incoming messages.  It won't run automatically on existing messages or on messages on an IMAP mail server that you have read on another device using (in which case they will have been marked as read).  If you need to run this in such conditions, you'll have to either run the rule manually or run it via an AppleScript or something similar that is somehow (via something other than Mail) made to execute at certain times/intervals or under certain conditions.

     

    And you're correct, a smart mailbox would be totally inappropriate for what you're trying to do!  It would behave exactly as you guessed.

  • thomas_r. Level 7 Level 7 (26,970 points)

    My test was in Lion...  I can't say what my experience would have been in Snow Leopard, as I never used any rules like that then.  Note that I did see the "do you want to apply this rule" message when I created this test rule, so that's definitely still there in Lion.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.