ansible-role-mailserver/templates/postfix/sql/virtual-alias-domains.cf

7 lines
227 B
CFEngine3

user = {{ mailserver_db_user }}
password = {{ mailserver_db_password }}
hosts = {{ mailserver_db_host }}
dbname = {{ mailserver_db_name }}
query = SELECT alias_domain FROM alias_domain WHERE alias_domain='%s' AND active = '1'