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

Stephan Bosch stephan at rename-it.nl
Sun Jan 13 13:19:39 EET 2019



Op 13/01/2019 om 11:56 schreef subscription1:
> Yes, that is what I did and it all works apart from the error message 
> on the server about the missing home dir
>
> The doc seems to indicate that a home dir is needed.
>

If you enable mail_debug=yes and perhaps auth_debug=yes, you should see 
what the imap service is using as the home directory and why.

Regards,

Stephan.

> Thanks,
>
> Leo
>
> On 12/1/19 8:42 pm, Stephan Bosch wrote:
>>
>> 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