mail_server/postfix/sql/mysql_virtual_alias_domain_catchall_maps.cf
2021-05-05 20:09:14 +05:30

5 lines
274 B
CFEngine3

user = vmailadmin
password = STRONGPASSWORD
hosts = localhost
dbname = vmailadmin
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'