> On Jan 31, 2016, at 12:24 AM, Curtis Villamizar <[email protected]>
> wrote:
>
>>> /usr/local/sbin/postconf: warning: inet_protocols: disabling IPv4
>>> name/address support: Protocol not supported
>>>
>>> even though /etc/postfix/main.cf has inet_protocols = ipv6
>>
>> What happens when you run:
>>
>> # postconf -dh config_directory
>>
>> Does it report those warnings? Does the outcome depend on the setting
>> of inet_protocols in the default configuration file?
> No complaints for postconf. I don't think postconf will try to open
> sockets and realize that there is no ipv4 address.
And yet, "postconf" is exactly the program that reported the error message.
It says so quite plainly on the first line I quote.
Did you in fact revert the default configuration to the version for which
you observe the above issue?
If not "postconf -dh config_directory", then how about:
# postconf -c $(postconf -dh config_directory) -h multi_instance_directories
This is used to determine whether you're starting a secondary instance, and uses
the default configuration directory, which really needs to be properly
configured,
even with "postfix -c ...".
--
Viktor.