Results 1 to 4 of 4

Thread: [SOLVED] Importing deleted messages, where do they go?

  1. #1
    TomL is offline Intermediate Member
    Join Date
    Oct 2009
    Location
    Corvallis, Oregon, USA
    Posts
    17
    Rep Power
    5

    Default [SOLVED] Importing deleted messages, where do they go?

    OK, I'm importing some mbox based mail folders (generated via UW IMAP) and in my test mbox file, I have some messages marked for deletion but not expunged (X-Status: D).
    I've imported the file both with imapsync and with a modified version of the mbox2imap.py found on the Zimbra wiki (the modification is to include the date and flags from the mbox file).

    My test mailbox has 20 messages, 2 of which are marked as deleted.

    After the import, the first time I click on the folder, I see all of the messages (deleted ones included). If I click on the folder again, the deleted ones are gone, but if I hover over the folder name, it still says there are 20 messages in the folder. I've also checked the Trash and the deleted messages aren't there.

    So, two questions:
    1) can I 'unmark' the deleted messages to get them back?
    2) how can I expunge the marked for deletion messages?

    It doesn't appear that Zimbra supports a 'marked for deletion'/expunge model for deleted messages. Just the 'move to trash'/empty trash model, is that correct?
    Thanks,
    TomL

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,499
    Rep Power
    56

    Default

    Quote Originally Posted by TomL View Post
    So, two questions:
    1) can I 'unmark' the deleted messages to get them back?
    2) how can I expunge the marked for deletion messages?
    You can do both of those steps by connecting with a fat IMAP client (such as Thunderbird etc.) and unmarking them or compacting the folder depending on whether you want to keep or remove the messages.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Rich Graves is offline Outstanding Member
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    718
    Rep Power
    9

    Default

    imapsync has --expunge1 and --expunge2 options.

    When we migrated from cyrus a few years ago, we gave people plenty of notice, and expunged.

    The mark deleted/expunge model, while techhnically required for resource-limited file-per-mailbox backends, was never really popular with users. Our previous Mulberry users don't seem to miss it.

  4. #4
    TomL is offline Intermediate Member
    Join Date
    Oct 2009
    Location
    Corvallis, Oregon, USA
    Posts
    17
    Rep Power
    5

    Default

    Thanks, I see this as just a transitional issue so the fat client suggestion will work fine.
    TomL

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Re-creating the spam training e-mail account
    By richard-hdd in forum Administrators
    Replies: 21
    Last Post: 03-20-2012, 07:34 AM
  2. Can no longer start desktop
    By foobaz in forum General Questions
    Replies: 12
    Last Post: 04-02-2010, 04:06 PM
  3. Importing RFC messages into user's mailbox
    By troublemaker in forum Users
    Replies: 2
    Last Post: 03-26-2009, 03:20 PM
  4. Deleted files not freeing their handle in /tmp
    By Centurion in forum Administrators
    Replies: 5
    Last Post: 12-08-2007, 04:34 PM
  5. Errors importing messages during migration
    By Chewie71 in forum Migration
    Replies: 0
    Last Post: 07-23-2007, 06:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •