Dyego Eugenio - 2014-06-16

I have one question about this 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'

used on mysql_virtual_alias_domain_catchall_maps.cf

If i try to use this, and previously create on postfixadmin web two domains:

and create a Alias Domain with domain2.com -> domain1.com, and create a Alias on domain2.com as:
@domain2.com > @domain1.com

I don`t get results with that query above.

What`s wrong? any idea? Thanks a lot!

Best regards