0

I try to move all mailboxes from Maildir do mdbox but I have to do in online and mailbox by mailbox.

I use setup with VimbAdmin and there are homedir and maildir variables

now my setup looks like this

10-mail.conf

mail_location: Maildir:/home/vmail/domain.tld/user

and in database fields are:

homedir    /home/vmail/domain.tld/user
maildir    maildir:/home/vmail/domain.tld/user:LAYOUT=fs

I've tried to change them to:

homedir    /home/vmail/domain.tld/user
maildir    mdbox:/home/vmail/domain.tld/user

but nothing happened.

when i changed mail_location in 10-mail.conf to "auto:" i got such error:

Error: user user@domain.tld: Initialization failed: Namespace '': Autodetection failed for auto: (home=/home/vmail/.home/domain.tld/user)
Error: Invalid user settings. Refer to server log for more information.

and no one can login then, even the user with mdbox settings.

Any hints how to make this work?

Paweł Madej
  • 131
  • 1
  • 6
  • `Refer to server log for more information.` And what's there? – sebix Jan 06 '17 at 15:44
  • @nysander: Have you tried using `dsync` for offline migration? I believe you can provide a list of mailboxes and they will be tried in order. – BillThor Jan 06 '17 at 15:58
  • @sebbix - this is all from server log what I've pasted above – Paweł Madej Jan 06 '17 at 16:33
  • @billthor i've done doveadm sync migration of this mailbox and it is converted do mdbox but when I log to this mailbox only emails from maildir are visible and new one are stored in maildir not in mdbox – Paweł Madej Jan 06 '17 at 16:34
  • @nysander You will need to change the delivery method of your mail server if you want it delivered to the mailbox. You can continue to use Maildir for the inbox by specifying it in the location parameter. You will need to specify the location as autodetection looks for Maildir before mdbox. – BillThor Jan 09 '17 at 04:52

0 Answers0