Displaying 1 result from an estimated 1 matches for "recovered_storage".
2015 Jan 29
0
mdbox: Broken virtual size for mail UID ...
...whether they should be stored in truncated form, be
> > deleted, etc. Is there such a thing?
>
> http://dovecot.org/tools/mdbox-recover.pl
Thank you!
>From what I read in the Wiki and how I understand the script, I should proceed
like this:
#!/bin/bash
broken_storage=$PWD/storage
recovered_storage=$PWD/storage-recovered
cd ${recovered_storage}
n=1
for f in ${broken_storage}/m.* ; do
mdbox-recover.pl ${f}
for f in msg.* ; do
mv ${f} m.${n}
$((n++))
done
done
mv ${broken_storage} storage-backup
mv ${recovered_storage} storage
exit 0
Afterwards dovecot will now automatically...