[Dovecot] writing an MDA, help me avoid corrupted indexes