Help us understand the problem. What is going on with this article?

Postfixのipv6設定を無効にする方法

More than 5 years have passed since last update.

Postfixでipv6を使えないというエラーが届く

send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only

CentOS6.2の環境でPostfixを運用していると、上記メッセージが届く場合があります。
注:2013/04に私が対応した内容の共有です。
  現在の状況は確認していません。

これは、CentOS6系のPostfixでipv6がデフォルトで有効になっている為で、OSの設定でipv6を無効にした場合に発生するようです。

その為、Postfixの設定ファイルで、ipv6を無効にすればエラーメッセージは届かなくなります。

vi /etc/postfix/main.cf
---(下記を変更)--------------------------- 
inet_protocols = all 
 ↓ 
inet_protocols = ipv4
------------------------------

上記の修正を実施してPostfixを再起動すればエラーはでなくなります。

KoriCori
不動産業界からIT業界へ転向。 インフラエンジニアとして勉強中。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした