start dovecot config; generate postfix transport_map; support multiple sender IPs...
[ansible.git] / roles / email / templates / mysql_vmail_users.cf
index 7ddb1f490d9f5ab4a02bdf7c5ea2c8a438063ad8..7541247763498bc2a2f6417e56d044164875b072 100644 (file)
@@ -1,6 +1,7 @@
+# This is used to check the existance of email addresses (so return *something* for existing addresses, and nothing for others).
 # It is also used to check ownership, mapping email addresses to usernames - however, in my setup, the email address is the username.
 user = vmail
 # It is also used to check ownership, mapping email addresses to usernames - however, in my setup, the email address is the username.
 user = vmail
-password = {{ postfix.vmail_mysql_password }}
+password = {{ postfix.dovecot.mysql_password }}
 hosts = localhost
 dbname = vmail
 query = SELECT username FROM users WHERE username='%s' AND active = '1'
 hosts = localhost
 dbname = vmail
 query = SELECT username FROM users WHERE username='%s' AND active = '1'