Mark Martinec:
> Trying to install postfix on an IPv6-only host
> 
>   FreeBSD 9.0B1, http://wiki.freebsd.org/IPv6Only
>   ports: mail/postfix-current,
> 
> but the installation chokes in the post-install phase.
> 
> Running that failing command manually (in the ports work directory)
> gives:
> 
> # bin/postfix -v post-install
> postfix: name_mask: ipv4
> postfix: name_mask: host
> postfix: inet_addr_local: configured 0 IPv4 addresses
> postfix: fatal: could not find any active network interfaces

The built-in default enables IPv4 only, to avoid headaches with
systems that have IPv6 support but no external IPv6 connectivity.
Lookup up AAAA addresses would be wasteful, and trying to connect
to them would be pointless.

A workaround is to do the same thing as when local_recipient_maps
was introduced: the inet_protocols built-in default different from
the installed configuration.

In this case, the built-in default would enable IPv6, while the
post-install installed configuration is IPv4 only (but post-install
would not change an explicit inet_protocols main.cf setting).

        Wietse

Reply via email to