summaryrefslogtreecommitdiff
path: root/templates/postfix/sql/mysql_virtual_alias_domain_catchall_maps.cf.erb
blob: 9fa4867ba96d26fc576a596e0ab585c85bd4718b (plain)
1
2
3
4
5
user      = <%= postfixadmin_database_user %>
password  = <%= postfixadmin_database_password %>
hosts     = <%= postfixadmin_database_host %>
dbname    = <%= postfixadmin_database_name %>
query     = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = CONCAT('@', alias_domain.target_domain) AND alias.active = 1 AND alias_domain.active='1'