Peter:
Unfortunately the above solution assumes that all recipients that use
the google MX servers will have email addresses with google.com or
gmail.com domains.
(@Wietse: correct me, if I'm wrong)
that's a general consequence of postfix design.
postfix is destination domain centric. It does not know, if two
destinations (domains) share the same mx host.
to workaround the mentioned problem I see two possibilities:
- modify your local dns resolver to strip the AAAA part in it's
answer for the hosts in question
- modify your local firewall to *reject* outbound connections to the
IPv6 address in question
sure, both are not perfect any may have unwanted side effects.
But finally I wonder about the problem. Google does simply *require* a
clean setup.
not more, not less. But *much more* strength in IPv6 then in IPv4 world.
One may see this strength as a service. They implicit say "your setup
is broken".
So instead implementing strange workarounds, one should search, find,
understand and fix the real problem.
Once.
or like Wietse use to say:
Rule number one on fixing problems: fix the right problem.
Andreas