its kind of an old thread, but i'd just like to share with others
on my Zimbra box (see version details on tag), method #1 worked like a charm. although it shows a -d option, when i first tried to use it i got many Java exception errors..
so.. since the user just wanted the mail, regardless if it has the correct date or not, i just ran the command clean, without any args... and it recovered with the correct dates, headers,...
what's strange tho, is the fact that the user deleted some messages on like a 5 days period on the web interface, but they were just removed from the database.. as surprised as i could be (i was already restoring the backup..), i found the messages on the store folder !! ok, it was a pain to find them, lots of less and cat and grep but i eventually found it. marked the first one and last one, selected it, copied to another folder (for safety), and imported into one of my test accounts. after finding out it worked perfectly... you know the rest
thanks MMorse... last time we had to do it, we went through the worst possible way: digging inside SQL and what not.. give me the creeps just reminding of it..
