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