[Dovecot] doveadm can't import his own mdboxes
Peer Heinlein
p.heinlein at heinlein-support.de
Sun Oct 13 23:54:54 EEST 2013
Hi,
I'd like to remind to my question / bug-report some days ago.
Can anybody help?
Peer
-------- Original-Nachricht --------
Betreff: [Dovecot] doveadm can't import his own mdboxes
Datum: Wed, 02 Oct 2013 15:46:12 +0200
Von: Peer Heinlein <p.heinlein at heinlein-support.de>
An: Dovecot Mailing List <dovecot at dovecot.org>
We're running Dovecot 2.1.17 on Debian:
# 2.1.17 (9efbc0731929): /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-042stab078.27.debug i686 Debian 7.1 simfs
and we're having this namespace configuration:
mail_location = mdbox:/var/mail/%Ld/%Ln/mdbox
namespace inbox {
disabled = no
hidden = no
ignore_on_failure = no
inbox = yes
list = yes
location =
prefix =
separator = .
subscriptions = yes
type = private
}
As you can see, our namespace seperator is "." and not "/":
a LIST "" "*"
* LIST (\HasChildren) "." INBOX.test
* LIST (\HasNoChildren) "." INBOX.test.huhu
* LIST (\HasNoChildren \Trash) "." Trash
* LIST (\HasChildren) "." INBOX
a OK List completed.
The problem is, that doveadm isn't able to import his own mdbox-directory:
1) delete the whole mdbox folder
# rm -rf mdbox
2) create the new mdbox folder and create some subfolders in it
# doveadm mailbox create -u max.muster INBOX.test
# doveadm mailbox create -u max.muster INBOX.test.huhu
3) put a mail into a subfolder
4) try to re-import the whole mdbox: it doesn't work
# doveadm import -u max.muster mdbox:mdbox BACKUP all
doveadm(max.muster): Error: Couldn't create mailbox
BACKUP.INBOX/test/huhu: Character not allowed in mailbox name: '/'
Looks like there's something wrong in the namespace or like doveadm is
working with a hardcoded internal namespace...
Peer
-- Heinlein Support GmbH Schwedter Str. 8/9b, 10119 Berlin
http://www.heinlein-support.de Tel: 030 / 405051-42 Fax: 030 / 405051-19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht
Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
More information about the dovecot
mailing list