fix virtual user home path
This commit is contained in:
parent
4c9116c3b0
commit
861dc9456c
3 changed files with 3 additions and 6 deletions
roles/dovecot
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
{% for user, pwhash in users.items() %}
|
||||
{{ user }}@{{ domain }}:{CRYPT}{{ pwhash }}::::::
|
||||
{% endfor %}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue