[Dovecot] dsync is SLOW compared to rsync

Timo Sirainen tss at iki.fi
Thu Mar 29 04:07:51 EEST 2012


On 29.3.2012, at 3.48, Jeff Gustafson wrote:

> On Thu, 2012-03-29 at 03:06 +0300, Timo Sirainen wrote:
> 
>> time doveadm -o mail=mdbox:/tmp/mdbox import mdbox:/path/to/real/mdbox "" all
> 
> 	This tried to write to /root for some reason and failed (dovecot
> 2.1.3):
> 
> # time doveadm -o mail=maildir:/home/bu/test.mdbox import
> maildir:/home/users/user at domain.com/Maildir "" all
> doveadm(root): Error: chdir(/root/) failed: Permission denied
> (euid=10025(vmail) egid=10025(vmail) missing +x perm: /root, we're not
> in group 0(root), dir owned by 0:0 mode=0550)
> doveadm(root): Error: chdir(/root) failed: Permission denied
> doveadm(root): Error: Can't find namespace for mailbox Trash
> doveadm(root): Error: Can't find namespace for mailbox test


Maybe -o mail_home=/tmp parameter makes it happier? Or possibly it needs -u user at domain, but I'd test that first with a test account to make sure it doesn't break the mailbox in case the userdb lookup overrides some fields.




More information about the dovecot mailing list