On 22.3.2013, at 0.31, Ken A ka@pacific.net wrote:
I'm converting mail from mbox to mdbox. I've copied mail over to a new system, and now I'm running dsync like this:
dsync -u username mirror mbox:/folder_location/username:INBOX=/inbox_location/username
That seemed to work, with a couple minor errors:
dsync(username): Warning: Our dotlock file /mail_location/username.lock was deleted (locked 20 secs ago, touched 20 secs ago) dsync(username): Error: file_dotlock_delete() failed with mbox file /mail_location/username: No such file or directory
Do I also need to specify where dovecot's indexes are for the old mbox files, or is this not needed for mbox conversions (when they are the source)?
Indexes aren't required, but looks like it takes a while to run dsync and you have another process that decides 20 seconds is long enough for a timeout and deletes the lock. Indexes would make it somewhat faster. Do you have mbox_dotlock_change_timeout=20? That's too low.