summaryrefslogtreecommitdiff
path: root/templates/postfix/sql/mysql_virtual_domains_maps.cf.erb
blob: 0706f4b75eef5ad8cabb50d32be92164f3fd04e5 (plain)
1
2
3
4
5
6
7
8
9
user      = <%= postfixadmin_database_user %>
password  = <%= postfixadmin_database_password %>
hosts     = <%= postfixadmin_database_host %>
dbname    = <%= postfixadmin_database_name %>
query     = SELECT domain FROM domain WHERE domain='%s' AND active = '1'
#query    = SELECT domain FROM domain WHERE domain='%s'
#optional query to use when relaying for backup MX
#query    = SELECT domain FROM domain WHERE domain='%s' AND backupmx = '0' AND active = '1'
#expansion_limit = 100