X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/a0ef97a3169e9da8b4618116075d54c49b4292b4..82c3952d5c4600c4c0ec7f8ab55f0dc96d750f4f:/roles/email/templates/mysql_vmail_users.cf?ds=sidebyside 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'