Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Settings don't persist on new Mac

#1725

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.

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

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. David Colebatch
    David Colebatch

    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?

    May 22nd, 2017 @ 07:31 PM

  2. Christopher Corbettis
    Christopher Corbettis

    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.

    June 20th, 2017 @ 09:05 AM

  3. David Colebatch
    David Colebatch

    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.

    June 20th, 2017 @ 06:59 PM

  4. Christopher Corbettis
    Christopher Corbettis

    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.

    June 20th, 2017 @ 07:44 PM

  5. benny
    benny
    • 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.

    November 23rd, 2017 @ 08:01 AM

  6. Christopher Corbettis
    Christopher Corbettis

    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.)

    November 23rd, 2017 @ 09:33 AM

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.