virtual_alias_domain_maps.erb (Источник)

1
2
3
4
5
hosts = <%= @dbserver %>:<%= @dbport%>
user = <%= @dbuser %>
password = <%= @dbpass %>
dbname = <%= @dbname %>
query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = CONCAT('%u', '@', alias_domain.target_domain) AND alias.active = 1