#1168 accepted
Avery

Resync of account lost all rules

Reported by Avery | June 1st, 2015 @ 06:15 PM

I got a message today saying that my mailbox was corrupt (message id had was pointing to an invalid message). The system gave me the option to Do nothing, Resync from cached messages, or Resync by re-downloading all messages.

Doing nothing did just that... nothing and I still had the error. Subsequently syncing from cached messages did not fix the error.

My final try was to re-download. This seemed to download all of my messages, but in the process, it lost ALL of my rules that were placed my local Mailbox.

Is this expected behavior (I would think not). Is there a way to pull them from a backup?

Comments and changes to this ticket

  • benny

    benny June 1st, 2015 @ 06:32 PM

    • State changed from “new” to “accepted”

    Sorry to hear that. You can retrieve the following file from a backup:

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

    Quit MailMate before doing this.

    It appears there is a problem with settings for IMAP mailboxes when rebuilding from server. I'll note to look into that and I'll track any progress in this ticket.

    If the corruption issue happens again then please contact me. I'm always interested in fixing issues which can trigger such behavior.

  • Avery

    Avery June 1st, 2015 @ 08:09 PM

    Thanks Benny. Retrieving that file definitely helped get the rules back.

    However, the issue with the corruption is still there. I only see it when I try to Apply Rules it my Inbox (which is where the rules are defined). It seems to be on one message id XXXXX.

    I went through the same steps and let it re-download again and it deleted the rules again. The corruption was still reported but I was able to narrow it down to a draft email. Cleaning my drafts mailbox and letting it re-download again worked. Applying rules (after another file restore) did not return any errors.

  • Avery

    Avery June 1st, 2015 @ 08:29 PM

    I am able to duplicate the error now. I was creating a new Rule (PageMe) to forward certain emails to my pager.

    Conditions:
    from_address = xxxx@test.com
    subject contains "will be oncall"

    Action
    redirect = newaddress@test.com

    Creating the rule, selecting all rules in my Inbox, and using Apply Rules generates the error message about corruption on the draft message (I assume it's the email that it is creating that is the problem).

    Allowing MailMate to restart (doing nothing), removing the rule, and then Applying Rules to all messages works with no corruption reports.

  • benny

    benny June 26th, 2015 @ 02:55 PM

    • State changed from “accepted” to “reproduced”

    A quick status: I've fixed the 'lost rules' problem (well, fixed it for most situations). And I can reproduce the crash (thanks for the details). Sorry about the late reply.

  • benny

    benny June 27th, 2015 @ 09:48 AM

    • State changed from “reproduced” to “fixcommitted”

    Fixed for the next update.

  • benny

    benny September 29th, 2015 @ 02:52 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