Error: User bob at aaa.bbb doesn't have home dir set, disabling duplicate database

Stephan Bosch stephan at rename-it.nl
Sat Jan 12 21:42:51 EET 2019


Op 11/01/2019 om 15:27 schreef subscription1:
> I made a mistake when I moved dovecot to a new server and only 
> specified mail_location instead of mail_home
>
> All I have in 10-mail.conf is
>
> ---------
> mail_location = maildir:/home/vmail/mailboxes/%d/%n
> ------------
>
> All emails for the few accounts I have are in these mailboxes and I 
> can get/see them via my mail client
>
> I do, however, get the following error
> --------------------
> imap(bob at aaa.bbb): Error: User bob at aaa.bbb doesn't have home dir set, 
> disabling duplicate database
> -------------------
>
> After looking at https://wiki2.dovecot.org/VirtualUsers/Home I tried 
> the following
> --------------------------------
> mail_home = /home/vmail/mailboxes/%d/%n
>
> mail_location = maildir:~/mail
> ------------------------------
>
> Problem with this is that I now can't see any of my emails in the client.
>
> Appreciate any help on how to fix this.

Well, you changed the effective maildir directory to 
/home/vmail/mailboxes/%d/%n/mail. So, if you want to use it like that, 
you'll have to move the maildir for each user to that new path template.

Regards,

Stephan.



More information about the dovecot mailing list