fix virtual user home path

This commit is contained in:
s3lph 2021-02-16 23:04:36 +01:00
parent 4c9116c3b0
commit 861dc9456c
3 changed files with 3 additions and 6 deletions
roles/dovecot
defaults/main
templates

View file

@ -2,5 +2,6 @@
virtual_mail_uid: virtual
virtual_mail_gid: virtual
virtual_mail_home: /home/virtual/%d/%n
virutal_mail_home: /home/virtual
virtual_mail_user_home: /home/virtual/%d/%n
virtual_mail_location: maildir:/home/virtual/%d/%n/Maildir

View file

@ -263,7 +263,7 @@ passdb {
# <doc/wiki/MailLocation.txt>
#
mail_location = {{ virtual_mail_location }}
mail_home = {{ virtual_mail_home }}
mail_home = {{ virtual_mail_user_home }}
# If you need to set multiple mailbox locations or want to change default
# namespace settings, you can do it by defining namespace sections.

View file

@ -1,4 +0,0 @@
{% for user, pwhash in users.items() %}
{{ user }}@{{ domain }}:{CRYPT}{{ pwhash }}::::::
{% endfor %}