*.aspmx.l.google.com : *.gmail-smtp-in.l.google.com
domainlist single_domain_mx = +google_mxen
+domainlist ipv4_only_domain_mx = +google_mxen
<%- if @is_mailrelay -%>
# Domains we relay for; that is domains that aren't considered local but we
# expensive, you can specify the networks for which a lookup is done, or
# remove the setting entirely.
host_lookup = *
-dns_ipv4_lookup = +google_mxen
# If this option is set, then any process that is running as one of the
# listed users may pass a message to Exim and specify the sender's
{match_domain{$item}{+single_domain_mx}}\
{remote_smtp_single_domain}{remote_smtp}\
}
- ignore_target_hosts = +reservedaddrs
+ ignore_target_hosts = +reservedaddrs : \
+ ${if forany{${lookup dnsdb{>: mxh=$domain}}}\
+ {match_domain{$item}{+ipv4_only_domain_mx}}\
+ {::::/0}{}\
+ }
no_more
postmasterish: