#580 ✓fixreleased
nall

Smart Mailbox submailboxes are blank

Reported by nall | January 13th, 2014 @ 05:33 PM

I have a 'Mailing Lists' smart mailbox. When I expanded it today, I saw a UI Bug

Collapsing the mailbox and re-expanding didn't help.

Restarting the application (after exiting with it both collapsed and expanded) didn't help.

The Conditions The Submailboxes

I think this smart mailbox came with the MailMate installation? I don't recall making it.

Thanks,
nall.

Comments and changes to this ticket

  • benny

    benny January 14th, 2014 @ 01:14 PM

    No, this is a mailbox provided by default. I'm not sure what's going on. Does the problem persist?

    Try sending me this file:

    ~/Library/Application Support/MailMate/Mailboxes.plist
    

    That'll make it easier for me to see if the mailbox has been changed in some way.

  • nall

    nall January 14th, 2014 @ 03:36 PM

    Yes, the issue persists.

    Here's the mailbox entry in the .plist file. Other smart mailboxes that use submailboxes aren't seeing this.

    If I remove the partitioningFormatString field and restart MailMate, the submailbox labels (albeit the default ones) show up as expected.

    nall.

                {       filter = "list-id.identifier exists";
                        name = "Mailing Lists";
                        parentUUID = "MAILBOXES";
                        partitioningFormatString = "${list-id.description:${subject.blob:?${subject.blob:/capitalize}:${list-id.identifier.final-level}}}";
                        partitioningHeader = "list-id.identifier";
                        set = "ALL_MESSAGES";
                        showSingleChild = :true;
                        uuid = "MAILING_LISTS";
                },
    
  • nall

    nall January 14th, 2014 @ 09:31 PM

    Benny,
    I do notice that removing the .final-level suffix on that else term causes the labels to be displayed.

  • benny

    benny January 15th, 2014 @ 09:25 AM

    Thanks for the details. Maybe the problem is related to the List-ID header of your messages. Could you select one or more of your messages and then use “View ▸ Show Raw Source” to get me some examples of this header?

  • nall

    nall January 15th, 2014 @ 11:34 PM

    A-ha! I'd missed that there were some at the bottom that don't disappear.

    I can't paste the item as-is, but here's an obfuscated version of one of them:

    List-Id: <A_B_C$@sub.domain.com>
    

    Also, this one disappears:

    List-Id: <aBCD@sub.domain.com>
    

    However, this one doesn't disappear:

    List-Id: <A-B-C-D@sub.domain.com>
    

    I'm stumped. Further, I see some mails in submailboxes where the submailbox name doesn't appear anywhere in the raw mail text.

    Let me know if I can provide any more info.

  • benny

    benny January 20th, 2014 @ 01:16 PM

    • State changed from “new” to “fixcommitted”

    These are all incorrect List-ID headers. They should never contain a @.

    Turns out that MailMate was so naive that it required list-id identifiers to follow the standard (I really do mean that). I've now changed it such that MailMate accepts anything separated by dots. You probably won't get exactly what you need since the resulting names are:

    A_B_C$@sub
    aBCD@sub
    A-B-C-D@sub
    

    If whatever generated these emails is in widespread use then I might consider splitting at @ as well to improve the result. That should be pretty safe to do. You cannot test the fix yet. Maybe later this week.

    What is the origin of these messages?

  • 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

Pages