Re: mdbox import error from read-only filesystem

2019-01-14 Thread hby
Hi, Thanks for the fast answer! Let me clear the situation: 1. I want to import from a read-only filesystem where the mdbox files are 2. The indexes are necessary because of the mdbox file layout, but the import process cannot open them 3. If I specify random writable dir for indexes the import

Re: mdbox import error from read-only filesystem

2019-01-14 Thread Sami Ketola
Hi, you can use INDEX=/writable/path/%u in your mail_location setting to define location for the required index data when importing. Also possibly you would need to define writable location for CONTROL and VOLATILEDIR. see https://wiki.dovecot.org/MailLocation

mdbox import error from read-only filesystem

2019-01-14 Thread hby
Dovecot version: 2.2.34 doveadm import tries to call open() on the source indexes/logs of mdbox data, but even if it should work as it is just a read-related call, it fails on read-only filesystems. The main use case for read-only filesystem is restoring from backup: the massive deduplicated