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?