[Dovecot] doveadm import : Error creating new mailbox

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Apr 29 11:57:25 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 29 Apr 2014, Administrator BCS wrote:

>> On Tue, 29 Apr 2014, Administrator BCS wrote:
>> 
>>> Now trying to manually import some mbox files from the old server into 
>>> dovecot. Copied a mbox file to the new system, converted it to Maildir 
>>> with mb2md resulting in a directory containing the new, cur en tmp. Looks 
>>> ok, old email messages are all there.
>>> 
>>> When importing this folder using doveadm import it fails with the message:
>> 
>> Copy/move the files in cur and new into the new place, no need for doveadm 
>> import. If there is no target mailbox of that name, copy the whole 
>> .mailbox.sub.sub folder.
>> 
>
> well the example I gave was maybe a bit confusing. Moving/copying the 
> contents of folders works but only for already existing folders.
> When I want to import folders that do not yet exist and create them by 
> copying a .mailbox folder to the users vmail folder it does not show up in my 
> front end (Horde). From what I learned so far this is because I have to use 
> the dovecot import tool in order to make dovecot recognize them.

say mb2md creates:
.folder.sub.sub/{cur,new,tmp}
.....

move .folder.sub.sub to 
/home/vmail/bezoekerscentrumsonsbeek.nl/techniek/.folder.sub.sub

If they does not show up, probably because they are not subscribed, add 
them to Maildir/subscriptions . Sometimes clients cache the folders. 
logoff/on again.



- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBU1+Tpnz1H7kL/d9rAQIc1ggAtMYCafYQyr317y7ixNvkXuXfnWBssDQC
kMFGdKSOO1Efpdj1PMvwS3yZNdd93P02uSHRuoARKWQMwn46pPtkIgiesC3B1IcO
DZiN0bg35iw3eenj3k0ZGol9HDZF2B8cE/6I8rqP2a6XANqLXBk4TB1HfmxcRGgp
Uuu4nhv8ZPqee1J1oP8U1RqQ0gdeS0zlhXT8At6l+iqzRkcfmijxK+GJ2QVxceDT
k+Hs3/QD/KNWpoWx6o/ClDIFVt6ALGw2hz622WL3tEv7Ytvy50E7FoVxbv6ET7Hr
g5zacot+jjOxiwBSTxBzkpsg4yvZ1D6QEph+gnXSR6ishKEu/Aeddw==
=xImh
-----END PGP SIGNATURE-----


More information about the dovecot mailing list