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.

Sudden permanent deletion of emails

#1844

While processing my Inbox today, emails just started being deleted. I could not stop it, so I force quit MailMate. When I relaunched MailMate, emails began deleting again. I shutdown the computer and restarted. When I restarted MailMate, emails were no longer being deleted. I've searched all my folders (and on my imap account web server) and I seem to be missing about 3 days of messages which I cannot recover.
During the automatic/spontaneous deletion, I noted a message about applying rules to my Inbox when I tried to change folders to see if that would stop the deletion process. I have no rules in place, so this baffles me. I had no suspicious emails (as far as I know) that could have triggered this.
Currently MailMate seems to be functioning normally.
I've checked my deleted messages folder and the imap trash and deleted folders on the server, but the messages seem to have been permanently deleted.
Any thoughts on how to restore the deleted messages would be appreciated and how I might prevent this from happening again (such as backing up the data periodically).

Reported by Cecil · September 29th, 2017 @ 03:59 AM

State: new
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny

    That sounds horrible! There are no auto-delete rules in MailMate by default. The closest is moving emails to Junk if using SpamSieve, but this should never lead to permanent deletion (which is done with different IMAP commands).

    First, restoring emails: If you have a backup (like Time Machine) then you can find the emails in a standard format within a hierarchy of folders at this location:

    /Users/<username>/Library/Application Support/MailMate/Messages/
    

    Restore them to a different location on your machine (like your Desktop or Downloads) and then use “File ▸ Import Messages...” within MailMate to re-import them.

    Second, debugging:

    • What is the hostname of this server?
    • Do you use any other email clients?
    • Any other services with access to your account?
    • Were you online when this started happening?
    • Please locate and send me the following file (Help ▸ Send Feedback):

      /Users/<username>/Library/Application Support/MailMate/Mailboxes.plist
      

    Hopefully, we can find out what happened here. It would be really bad if MailMate is to blame. For the record, I don't have any other reports.

    September 29th, 2017 @ 05:12 AM

  2. Cecil
    Cecil

    I made a backup to my home server about 12 hours before this happened so I've only lost 1/2 day of email, so I can recover to that point. Fortunately, I don't think I lost anything important.

    Here is the information you requested:

    What is the hostname of this server?
    

    No server, just my laptop connected to home wireless router?
    Do you use any other email clients? RCN.COM
    GMAIL.COM
    MSN.COM
    (listed i Mailboxes.plist) Any other services with access to your account? NO
    Were you online when this started happening? Yes - wirelessly through home router.

    Please locate and send me the following file (Help ▸ Send Feedback):
    

    Attached

    Thanks for your help

    September 29th, 2017 @ 12:34 PM

  3. benny
    benny

    Ok, I can confirm that you have no rules in the Mailboxes.plist file.

    I meant the hostname of the IMAP account for which this happened?

    Did it only happen for one of the IMAP accounts or did it happen for all accounts with emails in your Inbox?

    Do you use custom key bindings and do you have a key bound to deletion? (I'm thinking maybe some kind of “stuck” key event could trigger something -- although in that case the emails should be in “Deleted Messages”.)

    September 29th, 2017 @ 12:46 PM

  4. Cecil
    Cecil

    Server hostnames:

    imap.rcn.com
    imap-mail.outlook.com
    imap.gmail.com

    I think each of my accounts was affected.

    I don't use custom key bindings (I have selected gmail key bindings); no key bound to deletions.

    I did notice that during the deletion process the deleted folders counts was decremented - this triggered me to stop the application.

    September 29th, 2017 @ 01:54 PM

  5. benny
    benny

    So the decrease happened within a mailbox for deleted messages? Then it could be the server that started deleting messages. This could, e.g., happen once a day. I did some googling and found this link which seems to imply that they don't like that emails stay on the server (which is how IMAP works) -- and trashed messages are deleted after just 15 days. Could this perhaps explain it?

    Google keeps deleted messages for 30 days if I remember correctly.

    September 29th, 2017 @ 03:48 PM

  6. Cecil
    Cecil

    The messages that were deleted were from the past 3 days.
    I am investigating the gmail bindings to see if I keyed some combination to trigger the delete - say of the entire mailbox and I just halted it before it completed???

    September 29th, 2017 @ 05:33 PM

  7. Cecil
    Cecil

    Thanks for the RCN link. To avoid ever loosing a message, I am assuming my smart mailboxes don't do this? It looks like archiving on the imap server is the only way since MailMate does not store messages locally?

    September 30th, 2017 @ 12:03 AM

  8. benny
    benny
    • State changed from new to cantreproduce

    Alternatively, you can setup a rule to move these messages into another, more sensible, IMAP account.

    I'll mark the ticket as cantreproduce, because you wrote the messages disappearing were more recent. Let me know if it happens again.

    As a backup, you could setup a rule on your RCN Inbox with a single Run Command action using “Command ▸ Export ▸ Copy to Folder”.

    September 30th, 2017 @ 07:15 AM

  9. Cecil
    Cecil

    The “Command ▸ Export ▸ Copy to Folder” works just fine. Thanks for the tip.

    October 1st, 2017 @ 02:27 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.