#1725 new
David Colebatch

Settings don't persist on new Mac

Reported by David Colebatch | April 3rd, 2017 @ 01:49 PM

Hi all,

I have migrated to a new MBP, and while my inboxes, signatures and mail migrated successfully other preferences did not. When I set these preferences manually now, they do not persist between sessions. For example, I restart MailMaite and have to re-enable Gmail shortcuts every time.

The preferences I'm struggling with are:

1) Gmail shortcuts
2) Window layout
3) Never inline PDF
4) Mark messages read after
5) Command-R shortcut (I like Reply-to-sender only)

I've tried deleting the app from my Applications/ and re-installing, but the issue persists...the settings don't!

Hope you can help.

Comments and changes to this ticket

  • David Colebatch

    David Colebatch May 22nd, 2017 @ 07:31 PM

    I just wanted to bump this - it is still a problem for me and I have to repeat these steps each time I open MailMate (so I tend to not shutdown...)

    Any ideas on how I can remediate? Need any more information?

  • Christopher Corbettis

    Christopher Corbettis June 20th, 2017 @ 09:05 AM

    All of your changes to MailMate should be persisted to ~/Library/Preferences/com.freron.MailMate.plist (where ~ is your home directory, more detail: Navigating files and folders).

    Nearly all Mac property lists are now stored as binary files, meaning you won’t be able to easily examine or edit the contents of a plist (just try opening com.freron.MailMate.plist in TextEdit, you’ll see a lot of garbled text). You can either use an application that can read binary plists or convert to plain text first.

    BBEdit opens binary plist files and a whole lot more, it is nagware though, so bear that in mind.

    Looking at my com.freron.MailMate.plist I can see for example this change that I made (yeah, the key name is backwards and I might lower the number of seconds too):

        <key>MmMessagesWebViewSecondsToMarkUnread</key>
        <integer>8</integer>
    

    So first thing, make your changes in MailMate, then verify that the plist is being updated with your desired changes.

  • David Colebatch

    David Colebatch June 20th, 2017 @ 06:59 PM

    Ah, thanks Christopher!

    For some reason, ~/Library/Preferences/com.freron.MailMate.plist was a directory on my system. I removed it:

    rmdir ~/Library/Preferences/com.freron.MailMate.plist

    changed an option and saw a new file created.

    I think I'm good now.

  • Christopher Corbettis

    Christopher Corbettis June 20th, 2017 @ 07:44 PM

    You’re very welcome David!

    That was even easier (and stranger) than I imagined, I’ve not heard of such a mix up before. Maybe Benny will know more.

  • benny

    benny November 23rd, 2017 @ 08:01 AM

    • State changed from “new” to “resolved”

    Just for the record, I have no idea how that became a folder. MailMate never interacts with it directly but goes through a system call.

    Also note, that manually editing the file is not safe due to how the system caches preferences values. Always use the defaults command.

  • Christopher Corbettis

    Christopher Corbettis November 23rd, 2017 @ 09:33 AM

    Quite right, Benny, that’s a much better way to do it:

    defaults write com.freron.MailMate MmMessagesWebViewSecondsToMarkUnread 6
    

    And to check a value with read:

    defaults read com.freron.MailMate MmMessagesWebViewSecondsToMarkUnread
    

    (Eight seconds is too long. Also, using ZSH and Zim for learning more about the command line tools is really worthwhile.)

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