Gmail MX over IPv6
Geert Hendrickx
geert at hendrickx.be
Thu Jun 21 21:52:14 CEST 2012
On Thu, Jun 21, 2012 at 15:40:58 -0400, James Cloos wrote:
> >>>>> "MN" == Mansoor Nathani <jkrolan at mnathani.com> writes:
>
> MN> Since Gmail has enabled AAAA records for some of its MX hosts, my IPv4 only
> MN> machine gets the Gmail IPv6 address and attempts to deliver email. Its only
> MN> when the timeout has been reached will it try the IPv4 address.
>
> Your log shows that you use postfix.
>
> Add this:
>
> smtp_address_preference = ipv4
>
> to main.cf to tell postfix to use only ipv4 for outgoing smtp.
>
> The postconf(5) man page explains:
>
> ,----< excerpt from postconf(5) >
> | smtp_address_preference (default: any)
> | The address type ("ipv6", "ipv4" or "any") that the Postfix SMTP client
> | will try first, when a destination has IPv6 and IPv4 addresses with
> | equal MX preference. This feature has no effect unless the inet_proto‐
> | cols setting enables both IPv4 and IPv6. With Postfix 2.8 the default
> | is "ipv6".
> |
> | This feature is available in Postfix 2.8 and later.
> `----
>
> That doc snippit reminds me that you could instead add:
>
> inet_protocols = ipv4
>
> to do the same thing.
No, this will disable IPv6 for inbound connections as well.
Geert
--
geert.hendrickx.be :: geert at hendrickx.be :: PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!
More information about the ipv6-ops
mailing list