user = <%= database_user %> password = <%= database_password %> hosts = <%= database_host %> dbname = <%= 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'