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