[postfix] Default configuration is broken for IPv6 only networks
diamond2:~# grep inet_protocols /etc/postfix/main.cf
inet_protocols = ipv4
diamond2:~#
This breaks all postconf commands, as postfix does not find any active interfaces.
diamond2:/var/lib/cdist# postconf -h myorigin
postconf: fatal: could not find any active network interfaces
diamond2:/var/lib/cdist# echo $?
1
diamond2:/var/lib/cdist#
Just removing that line allows to configure postfix again:
diamond2:/etc/postfix# postconf -h myorigin
$myhostname
diamond2:/etc/postfix#