> On Aug 23, 12:30 pm, Mark Martinec wrote: > > 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
Nick wrote: > Hi Mark, > have you found a solution to this? I have an IPv6 only jail in which > I'm trying to install Postfix from Ports but it fails with this error. > Any pointers would be welcome. Well, I followed Wietse's suggestion: | 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). ...so I hacked the source to change a built-in default value of inet_protocols to "all", and then a main.cf can replace this value with whatever it chooses. I was hoping this approach would make its way into current eventually ... Mark