Y
Y
yaoleynikov2021-08-19 16:24:20
linux
yaoleynikov, 2021-08-19 16:24:20

How to change home directory for users in Dovecot?

The disk space ran out, it was decided to move the database to another disk.
Transferred to a mounted disk. Deleted the old directory. Changed directories in configs, restarted services.
And it tries to create files in the old place.

Aug 19 13:47:37 mail dovecot: lda([email protected]): Error: User initialization failed: Namespace 
'': mkdir(/var/vmail/site.com/info) failed: Permission denied (euid=5000(vmail) egid=5000(vmail) 
missing +w perm: /var, dir owned by 0:0 mode=0755)


I checked the user, he has the correct paths ...

mail:/var/log# doveadm user [email protected]
field	value
uid	5000
gid	5000
home	/mnt/vmail/site.com/info
mail	maildir:/mnt/vmail/site.com/info


Where to dig further?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question