On Fri, 5 Feb 2016, Sergey via Info-cyrus wrote:
Hello.
I attempted to reconstruct some damaged mailboxes with empty
folders, but it does not work. I use this command:
su -l cyrus -s /bin/bash -c "/usr/lib/cyrus/reconstruct -f -r user/user@domain"
Mail directory contains "Trash" subdirectory without any files (manualy
created from backup). Reconstruct works if I put any of files cyrus.* to
this subdirectory. At the same time there was the opposite problem:
I can not delete existing directory, reconstruct restores it.
Is this is a bug or require any other settings to run reconstruct ?
I usually use these steps to add a new folder using reconstruct:
touch cyrus.header
chown cyrus:mail cyrus.header
reconstruct -f -r user.<username>
So, I think the behavior you are seeing is expected. Create an empty
cyrus.header file, with the correct ownership, before running reconstruct.
Andy
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus