#117 ✓fixcommitted
Erik M-H

Date-related smart mailboxes not updating

Reported by Erik M-H | April 28th, 2011 @ 11:35 AM


I have a smart mailbox defined simply as "Date is within last 1 days", which has gradually gotten larger and larger. This morning, it had eight days' worth of mail in it. Editing its smart definition fixes it, but only temporarily.

I don't particularly care whether it changes "realtime" (mail from > 24 hours ago "drops off" as the clock ticks) or only when I choose the smart folder in the mailbox panel. Actually, even having it update only at midnight would be OK.

Comments and changes to this ticket

  • benny

    benny April 28th, 2011 @ 12:40 PM

    • State changed from “new” to “fixcommitted”
    • Assigned user set to “benny”

    I was wondering when someone was going to notice this.

    The ideal solution would explicitly watch for when a message should leave the set, but in this case I have now opted for the quick solution which I think will be good enough in most cases. In your case the set will be recomputed once an hour (only if the set is needed of course). For date comparisons involving more days, weeks, months, or years, the interval is larger, but never larger than a single day.

    Write a feedback email if you would like to try a test version of MailMate with this fix.

  • Erik M-H

    Erik M-H April 29th, 2011 @ 10:42 AM

    Wow -- now that's quick turn-around! :-)

    I'd be very happy to test it if that would be helpful, but waiting for an official release is no problem, either. Thanks!

  • benny

    benny April 29th, 2011 @ 03:04 PM

    Write me an email via the feedback menu item in the help menu of MailMate. I'll then notify you when a test version is available (likely to be today).

  • Erik M-H

    Erik M-H May 1st, 2011 @ 02:04 PM

    Hello, Benny!

    Thanks for the opportunity to check this out. It works well if I switch out of and then back into the "today" smart folder; if I simply leave MailMate displaying the folder, it does not change — even after many hours have gone by.

    This is far better than it was, and is perfectly acceptable for my needs — but it sounded as if you meant for it to update hourly.

  • benny

    benny May 2nd, 2011 @ 10:57 AM

    That is how the fix is supposed to work. It is not perfect, sorry. I've
    made a note to improve it later on.

  • Erik M-H

    Erik M-H May 9th, 2011 @ 01:27 PM

    It's perfectly OK, Benny -- I just wanted you to know, in case you'd thought it was updating hourly.

    There is one problem, though: I've just noticed that the counter isn't updated when messages "fall out" of the mailbox. (E.g., unread messages are still being reported as unread in the smart mailbox even though they're no longer in the smart mailbox.) Not a big deal, except that:

    When I do read the messages (obviously accessing them from a different folder), the counter still doesn't update. So, "All Messages" and my sources both show that I have 0 unread messages, but the "today's mail" smart folder still shows 4 unread. Changing the counter display to "No Count" and then back to "Unread" works around the problem, of course.

  • benny

    benny May 9th, 2011 @ 06:52 PM

    It is an important observation and it shows that my fix is too
    primitive. I believe a proper solution to the date problem (messages
    leaving/entering the mailbox immediately) is also going to fix this
    related problem.

  • benny

    benny June 2nd, 2011 @ 10:32 AM

    • State changed from “fixcommitted” to “fixreleased”
  • benny

    benny February 13th, 2014 @ 09:31 PM

    • State changed from “fixreleased” to “fixcommitted”

    This should be properly fixed in the next update.

  • benny

    benny October 15th, 2014 @ 03:32 PM

    • State changed from “fixcommitted” to “fixreleased”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mac OS X email client.

Shared Ticket Bins

People watching this ticket