On 30 Dec 2010, at 11:46, Timo Sirainen wrote:
On Wed, 2010-12-22 at 11:02 +0000, Adrian Mardlin wrote:
I've managed to fix this initial problem by using INDEX=MEMORY. However, there's another side-effect. When deleting a symlinked folder, it leaves behind a file called ..DOVECOT-TRASHED, which is still symlinked. This then prevents that user from deleting any other folders.
Well, http://hg.dovecot.org/dovecot-2.0/rev/b78e772cf1d2 fixes this problem but I'm not sure what to do about the indexing problem.. I'll either have to fix it some way or just disallow symlinks..
How about simply deleting the index files before removing the symlink? Why would the Index files need to indicate that a mailbox has been deleted - surely that's handled by the fact that it's not there any more?
Regards,
Adrian
The content of this email and any attachment is private and may be legally privileged. If you are not the intended recipient, any use, disclosure, copying or forwarding of this email and/or its attachments is unauthorised. If you have received this email in error please notify the sender by email and delete this message and any attachments immediately from this system.
The Very Good Email Company is a trading style of APM Internet Limited. APM Internet Limited is a limited company incorporated in England and Wales with registration number 04601087 and whose registered office is at Charter Court, Midland Road, Hemel Hempstead, Hertfordshire HP2 5GE