Which version of Postfix supports IPv6?

Postfix version 2.2 supports IPv4 and IPv6 on the following platforms:

For Postfix version 2.1 you should download patch from http://www.ipnet6.org/postfix/ to enable IPv6 support in postfix. There is patch available only for IPv6 and IPv6+TLS together. You should apply the patch to your postfix source code.

What are unsupported featureas known limitations of IPv6 support (both version and patch)

How to enable IPv6 on Postfix?

It is automatically enabled if you compile postfix the above platforms.

How to configure IPv6 on Postfix? (both patched and version 2.2 and later)

You can configure the following parameter in the  main.cf:

IPv6 network ranges are written in the form [ipv6:addr:range]/plen.
Source address for outgoing SMTP connections. The address is specified as a bracketed hex IPv6 address.

What special configuration can I setup on patched version of postfix?


Source address for LMTP client connections. - this is not necessary in mainline 2.2 and later since LMTP uses smtp_bind_address6 also.

What new parameters can be configured in postfix 2.2 and later?


Instead of hard-coding and ::1 loopback addresses in master.cf, specify "inet_interfaces = loopback-only" in main.cf. This way you can use the same master.cf file regardless of whether or not Postfix will run on an IPv6-enabled system.

This specifies what protocols Postfix will use when it makes or accepts network connections, and also controls what DNS lookups Postfix will use when it makes network connections.
        # You must stop/start Postfix after changing this parameter.
        inet_protocols = ipv4       (DEFAULT: enable IPv4 only)
        inet_protocols = all        (enable IPv4, and IPv6 if supported)
        inet_protocols = ipv4, ipv6 (enable both IPv4 and IPv6)
        inet_protocols = ipv6       (enable IPv6 only)
  • The inet_protocols parameter also controls what DNS lookups Postfix will attempt to make when delivering or receiving mail.

What about the different postfix policy daemon IPv6 support?

Campus6: PostfixGuide (last edited 2008-04-10 15:29:31 by localhost)