シスメモ

Postfix で「inet_protocols: IPv6 support is disabled」の警告が表示される

photo credit: liwyatan via photopin cc

photo credit: liwyatan via photopin cc


■Postfix で「inet_protocols: IPv6 support is disabled」の警告が表示される

mailコマンドでのメールの送信時に、以下の警告が表示された。

send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol

CentOS6のPostfixは、デフォルトでIPv6対応になっているためのようです。

/etc/postfix/main.cfを以下のように修正したところ、警告は表示されなくなりました。

【修正前】inet_protocols = all
【修正後】inet_protocols = ipv4

/etc/rc.d/init.d/postfix restart で設定を反映。

モバイルバージョンを終了