On 20.5.2011, at 22.35, Kamil Jońca wrote:

> So I try to import with:
> 
> doveadm -v import "sdbox:~/Mail/dbox-temp/spamcop/reports/" 
> "#Dbox/spamcop/reports" all

You probably want something more like:

doveadm import sdbox:~/Mail/dbox-temp "#Dbox" mailbox spamcop/reports

> dbox-temp were defined earlier as 
> --8<---------------cut here---------------start------------->8---
> namespace {
>  hidden = no
>  inbox = no
>  list = yes
>  location = sdbox:~/Mail/dbox-temp
>  separator = /
>  subscriptions = yes
>  type = private
> }
> --8<---------------cut here---------------end--------------->8---

This isn't needed.

> 2. when I move dbox-Mails to proper place I got:
> 
> doveadm(kjonca): Error: sdbox 
> /home/kjonca/Mail/dbox-temp/spamcop/reports/mailboxes/INBOX/dbox-Mails: 
> Invalid dbox header size

What Dovecot version? I think this is fixed already.

> b) u.* files were created on i386 system, and import test on amd64.

Index files use the same format in 32bit and 64bit systems (but not in little 
vs big endian).

Reply via email to