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.
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(b...@aaa.bbb): Error: User b...@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.