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.

Resync of account lost all rules

#1168

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?

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

State: accepted
Milestone: none
Assigned to: benny benny

Activity

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

    June 1st, 2015 @ 06:32 PM

  2. Avery
    Avery

    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.

    June 1st, 2015 @ 08:09 PM

  3. Avery
    Avery

    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.

    June 1st, 2015 @ 08:29 PM

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

    June 26th, 2015 @ 02:55 PM

  5. benny
    benny
    • State changed from reproduced to fixcommitted

    Fixed for the next update.

    June 27th, 2015 @ 09:48 AM

  6. benny
    benny
    • State changed from fixcommitted to fixreleased

    September 29th, 2015 @ 02:52 PM

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.