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

1
2
3
4
5
hosts = <%= @dbserver %>:<%= @dbport%>
user = <%= @dbuser %>
password = <%= @dbpass %>
dbname = <%= @dbname %>
query = SELECT goto FROM alias WHERE address='%s' AND active = '1'