X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/a0ef97a3169e9da8b4618116075d54c49b4292b4..935655298bea94aaf25ebee302f3c04735b6d604:/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'