X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/a0ef97a3169e9da8b4618116075d54c49b4292b4..b0c6a3da0e5e5b144befbcc0c5faa93dd5101c03:/roles/email/templates/mysql_vmail_users.cf?ds=inline diff --git a/roles/email/templates/mysql_vmail_users.cf b/roles/email/templates/mysql_vmail_users.cf index 7ddb1f4..7541247 100644 --- a/roles/email/templates/mysql_vmail_users.cf +++ b/roles/email/templates/mysql_vmail_users.cf @@ -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 -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'