瀏覽代碼

Merge pull request #161 from ariddell/master

Quote password substitution (may contain spaces)
Luke Cyca 10 年之前
父節點
當前提交
56737491d6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      roles/mailserver/templates/etc_dovecot_dovecot-sql.conf.ext.j2

+ 1
- 1
roles/mailserver/templates/etc_dovecot_dovecot-sql.conf.ext.j2 查看文件

@@ -63,7 +63,7 @@ driver = pgsql
63 63
 #   connect = host=sql.example.com dbname=virtual user=virtual password=blarg
64 64
 #   connect = /etc/dovecot/authdb.sqlite
65 65
 #
66
-connect = "host=127.0.0.1 dbname={{ mail_db_database }} user={{ mail_db_username }} password={{ mail_db_password }}"
66
+connect = "host=127.0.0.1 dbname={{ mail_db_database }} user={{ mail_db_username }} password='{{ mail_db_password }}'"
67 67
 
68 68
 # Default password scheme.
69 69
 #

Loading…
取消
儲存