Scappatura Rocco: > Thank you Wietse. > > This is what is set relay_domains on my server: > > relay_domains = proxy:mysql:/etc/postfix/mysql-relay-domains.cf > /etc/postfix/mysql-relay-domains.cf: query = select domain from domain where > domain='%s' and active='1' > > And, obliviously, while the query returns '2domain.tld' for the domain > 2domain.tld, it returns nothing for domain '3domain.2domain.tld'.
I wrote, by default Postfix will match any subdomain of domains listed in relay_domains. It generates queries with the fourth-level name removed, the third-level name removed, and so on, when relay_domains is listed in parent_domain_matches_subdomains. Wietse