doveadm import/sync with read-only source location

Anton Cheyvhchalov ac at
Tue Nov 17 11:03:59 UTC 2015

+1 to that idea.

Ask the same couple month before during migration from 1.x to 2.x but got no answer from someone who able to change this. 

On Tue, 17 Nov 2015 10:35:11 +0200
Teodor Milkov <tm at> wrote:

> Hello,
> Currently doveadm tool can't be used with read-only source locations 
> because it's trying to create lock files.
> I'd guess lock files shouldn't be necessary on a read-only media, 
> because no one else is going to change anything while our doveadm 
> instance is running anyway. Example:
> doveadm import -u test at 
> maildir:/backup.0/domains/ restored ALL
> doveadm(test at Error: 
> open(/backup.0/domains/ 
> failed: Read-only file system
> Perhaps this should be something like doveadm backup -R flag, but in the 
> opposite direction – i.e. we have a [full] backup command, but no 
> [partial] restore command right now. Or am I missing something?
> Best regards,
> Teodor

More information about the dovecot mailing list