Browse Source

Allow # in mail_db_password

I had a # in my mail_db_password and spent the last 2 hours trying to figure out why I couldn't connect by IMAP. A # is only allowed if the connect string is wrapped in quotes.
Cameron Rudnick 10 years ago
parent
commit
0493e9b57e
1 changed files with 1 additions and 1 deletions
  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 View File

@@ -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…
Cancel
Save